Abstract method undefined
Monkey Forums/Monkey Bug Reports/Abstract method undefined
| ||
Hi, It is possible to instantiate MySecondClass even if the method Temp() is undefined. Strict Function Main:Int() New MySecondClass() Return 0 End Class MyClass Method Temp:Void() Abstract End Class MySecondClass Extends MyClass End |
| ||
Temp() is ignored because it's never used. |
| ||
It should cause an error if you use reflection on that module. Otherwise, like Mark said; it won't cause an error if it's never used. |
| ||
OK, I see the point of this. Makes sense to me. |