@ck, I get the following exception when I try to build my WASM project on Elements 11.0.0.2699:
E: Internal error: System.NotSupportedException: Specified method is not supported.
at RemObjects.Elements.Island.BaseABI.UncoerceValue(IEnumerable`1 aValues, ABIMode aCurrentResult, LLVMBaseValue aTargetPtr)
at RemObjects.Elements.Island.IslandObjectModel.CallMethod(IMethodInfo aMethod, LLVMBaseValue aMethodPointer, LLVMBaseValue aSelf, BaseType aVirtualInterface, Int32 aVirtual, IParameters pars, BaseType aResultType, ExpressionCallType aCT, ImmutableArray`1 aGP, BaseType aST)
at RemObjects.Elements.Island.IslandOutput.GenerateCallExpression(ResolvedCallExpression aExpr, Boolean anAddress)
at RemObjects.Elements.Island.IslandOutput.GenerateExpression(Expression aExpr, Boolean aAddress)
at RemObjects.Elements.Island.IslandOutput.GenerateStatement(Statement aSt)
at RemObjects.Elements.Island.IslandOutput.GenerateStatement(Statement aSt)
at RemObjects.Elements.Island.IslandOutput.GenerateStatement(ScopeStatement asT)
at RemObjects.Elements.Island.IslandOutput.GenerateStatement(Statement aSt)
at RemObjects.Elements.Island.IslandOutput.GenerateMethod(IMethodInfo ameth)
at RemObjects.Oxygene.Code.CombinedParsedType.ForAllMethods(Func`2 action)
at RemObjects.Elements.Island.IslandOutput.GenerateParsedType(IMutableParsedType aType)
at RemObjects.Elements.Island.IslandOutput.<GenerateExecutable>b__19(IParsedType a)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at RemObjects.Elements.Island.IslandOutput.GenerateExecutable()
at RemObjects.Oxygene.Code.Compiler.CompilerOuput.GenerateExecutable__$mapped(Compiler self)
at RemObjects.Oxygene.Code.Compiler.Compiler.Compile()
@mh, the error doesn’t appear on a simple project. Even if I strip down my project to the bare minimum (I did, still fails) it’s still about 100 units - way too much work to keep stripping down with all the dependencies and no clue where to start.
The project did compile on the previous preview version (11.0.0.2697) - you can check what changes were made since then. I gave you the stack trace - it’s all inside your code.
The only thing I can do is to send you my full project.
Hi
Can you please also test this full project in debug and release mode, because using previous Elements releases we have linker errors compiling the release version.
E: Internal error: GOUNKEX153
(0,0): duplicate-error E0: Internal error: GOUNKEX153
(0,0): duplicate-error E0: Internal error: GOUNKEX153
E: Internal error: System.NotSupportedException: Określona metoda nie jest obsługiwana.[CR]
Project 'DK_WASM' failed to build.