-
Notifications
You must be signed in to change notification settings - Fork 74
Error upon compiling script with functions on smart-compiler branch (.NET) #3
Comments
Running the following code on Windows 7 x64 via Visual Studio 2010:
Results in:
|
In commit 11c8f14 I added a The intention of this was to allow a fallback mode to overcome the current limitation which only seems to happen when there are user defined functions in the code. Not all scripts use this and it would be beneficial for .NET users to have smaller independent binaries for their simple scripts. Could you please modify the compiler to recognise the |
Filing this for future reference; yours truly and polyethene have researched this bug extensively and as of yet did not come up with with a solution.
To reproduce, check out the smart-compiler branch and enable merge, either at compile-time or manually in Program.cs. Then compile the following:
On .NET a TypeLoadException of sorts will be thrown (poly, could you please insert the actual stacktrace?).
The text was updated successfully, but these errors were encountered: