moonsharp-devs / moonsharp

An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.
http://www.moonsharp.org
Other
1.41k stars 213 forks source link

Hardwiring throws errors #255

Open Ro4m3r opened 5 years ago

Ro4m3r commented 5 years ago

The autogenerated code from hardwiring throws errors under Unity 2018.3.0f2 and C# 7.3.

I'm not sure if I'm doing something wrong or if this is just a bug.

It's 2 errors in my case:

(This seems to be easily fixable)

and

(This seems to be trying to hardwire an implicit operator, and failing)

Ro4m3r commented 5 years ago

This is the function it is trying to hardwire:

DanielSnd commented 4 years ago

How did you get the hardwiring to run? I generated the dump but now I don't know what to do with it.