kevingadd/JSIL — Issue #34: Untraslatable goto-s
Author: matra774
Created: 2011-11-05 01:13:16+00:00
State: open

Hi Kevin

I am digging in the JSIL, and it looks really great. However when trying to translate some of the LINQ code from MONO project base, i frequentyl gets error that are related to untraslatable GOTOs. Like the following ('ve added method names to the output of JSILC.exe):

Translating System.Boolean System.Linq.QuickSort`1/d__0::MoveNext()
Warning: Untranslatable goto encountered: goto IL_B6

Translating System.Boolean System.Linq.Enumerable/d__53::MoveNext()
Warning: Untranslatable goto encountered: goto IL_74

Translating System.Boolean System.Linq.Enumerable/d__57`1::MoveNext()
Warning: Untranslatable goto encountered: goto IL_6D

Translating System.Boolean System.Linq.Enumerable/d__5b`1::MoveNext()
Warning: Untranslatable goto encountered: goto IL_90

Any ideas how to fix those? Those methods are compiler generated (IEnumerable & yield stuff), so I can not fix them manually

I am working of the a branch that does not contain the latest version
https://github.com/markusjohnsson/JSIL/tree/jsil_corlib

Thanks,
Matra