Summary
RaiseEvent can work with byref parameter ?
Have Method:
Test(row As integer, ByRef ret As boolean)
i test:
var result as boolean = true
Raise Event Test(100,rt)
app crash:
Bug or not supported in objo
Fatal VM exception: System.InvalidCastException: Expected Ref but got Boolean.
at Objo.VM.Value.ThrowInvalidCast(ObjoType expected)
at Objo.VM.Value.get_AsRef()
at Objo.VM.VM.Run(Int32 exitAtFp)
at Objo.VM.VM.InvokeMethod(ObjoClosure method, Value receiver, Value[] args,
Boolean allowWhileStopRequested) at Objo.StdLib.Desktop.ControlMethods.CallEventHandler(VM vm, ObjoInstance ev
entSource, Value handler, Value[] args) at Objo.StdLib.Desktop.ControlMethods.FireEvent(VM vm, ObjoInstance instance,
String eventName, Value[] args) at Objo.StdLib.Desktop.ControlMethods.<>c__DisplayClass34_1.<WireBaseEventsOn
Objo Studio Version
Operating System
Select the operating system(s) affected as tags for this post.
Steps To Reproduce
Expected Result
Actual Result
Screenshots, Logs, Or Sample Project