Blitzmax NG - Overriding final methods succeeds in NG [possible bug?]

BlitzMax Forums/BlitzMax NG/Blitzmax NG - Overriding final methods succeeds in NG [possible bug?]

Midzi(Posted 2017) [#1]
Hi,

I noticed that, unlike in vanilla Blitzmax, overriding a final method doesn't raise a compilation error in Blitzmax NG (bcc[ng] v. 0.87). When run in NG, the example found in the docs (topic "final") compiles and runs without any warning, which in this case is not correct.

Extending a final type seems to be caught at compile time, however, as expected.

Regards,

Mariusz Idzikowski


Derron(Posted 2017) [#2]
Created an issue with an example:
https://github.com/bmx-ng/bcc/issues/245


bye
Ron