Summary
Here’s the repro
parametric_class(t:type) := class<abstract>:
SomeMethod<final>():void = Print("parametric_class")
parametric_class_int := class(parametric_class(int)):
SomeMethod<override>():void = Print("parametric_class_int")
some_device := class(creative_device):
OnBegin<override>()<suspends>:void=
parametric_class_int{}.SomeMethod() # Will print "parametric_class_int"
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
see repro
Expected Result
final methods shouldn’t be overrideable
Observed Result
the final method can be overridden
Platform(s)
PC