You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Import "<std>"
Using std.collections
Struct Event
Field data : Int
End Struct
Alias EventCb : Void( event : Event )
Function Main()
Local dict : StringMap< EventCb > = New StringMap< EventCb >()
End Function
Using the above code, the wrong C++ code is generated. Works fine when Event is a class.
The text was updated successfully, but these errors were encountered:
Hi,
I have pushed a fix for this to the develop branch.
You'll have to rebuild mx2cc for the fix to be used, either via
scripts/rebuildmx2cc or scripts/rebuildall etc.
On Thu, Feb 21, 2019 at 11:43 PM leftnoodle ***@***.***> wrote:
`#Import ""
Using std.collections
Struct Event
Field data : Int
End Struct
Alias EventCb : Void( event : Event )
Function Main()
Local dict : StringMap< EventCb > = New StringMap< EventCb >()
End Function`
Using the above code, the wrong C++ code is generated. Works fine when
Event is a class.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#471>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADU3QhtBjL8N1PENQQCHGppocUy-Talrks5vPnhPgaJpZM4bHJdK>
.
Using the above code, the wrong C++ code is generated. Works fine when Event is a class.
The text was updated successfully, but these errors were encountered: