Summary
When trying to implement two generic interfaces, the compiler compiler raises an error at the second overrided method saying there is nothing to override.
Additionally, when commenting out the overriding code for the second method, the compiler gives no errors even though it should, because the class still implements the interface for it.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Write this code
type_a := class{}
type_b := class{}
must_implement_func_with(t:type) := interface:
TestFunc(Input:t):void
test_class := class(must_implement_func_with(type_a), must_implement_func_with(type_b)):
TestFunc<override>(Input:type_a):void=
return
TestFunc<override>(Input:type_b):void=
return
See error messages produced.
Expected Result
I should be allowed to implement the functions, because this would otherwise be possible if the functions weren’t overriding interfaces, but rather directly implemented on the two classes.
Observed Result
This function does not override a function but has an <override> attribute(3523)
Platform(s)
Windows 11