Closed Pharmhaus-2 closed 5 years ago
MCVE:
Namespace myapp
#Import "<std>"
Using std..
Class BaseClassDef
Method Beep() Virtual
Print "BaseClassDef Beep"
End
End
Class ClassDef Extends BaseClassDef
Method ErrorMethod()
Local x:=Lambda()
Super.Beep() 'Self is captured but Super is not
'Self.Beep()
End
End
Method Beep() Override
Print "ClassDef Beep"
End
End
Function Main()
Local c:=New ClassDef
c.ErrorMethod()
End
@engor Fixed in develop
Original Author: engor
I tried to show confirm "Really close app?" right inside of OnWindowEvent and got compile-time error.
I can live with that - by directly call to App.Terminate().
Look at demo app: