Open isc30 opened 4 years ago
When compiling generics using Named Delegate types:
Hello<MyDelegate>();
It gets transpiled to:
Hello({'T' : MyLibrary.Function });
It should be:
Hello({'T' : Function });
This issue was already found and fixed as part of the .meta.js generation. See existing fix: https://github.com/DerivcoIpswich/dsharp/blob/master/src/DSharp.Compiler/Generator/ScriptMetadataGenerator.cs#L174
.meta.js
When compiling generics using Named Delegate types:
It gets transpiled to:
It should be:
This issue was already found and fixed as part of the
.meta.js
generation. See existing fix: https://github.com/DerivcoIpswich/dsharp/blob/master/src/DSharp.Compiler/Generator/ScriptMetadataGenerator.cs#L174