Compile error

Any idea what may cause the following, just in 10.x, fine in 9.x?

                   <- Phase Generating Helper Types finished, took 0.3230s.
                   -> Phase Inlining code started.
                   <- Phase Inlining code finished, took 0.0885s.
                   -> Phase Pre-Simplifying Code started.
                   <- Phase Pre-Simplifying Code finished, took 0.3323s.
                   -> Phase Simplifying Code started.
                   <- Phase Simplifying Code finished, took 0.2092s.
                   -> Phase Flow Analysis started.
                   <- Phase Flow Analysis finished, took 0.0705s.
                   -> Phase Generating Output started.
                      Reference: /Volumes/Fire 10.0.0.2241/Fire.app/Contents/Resources/Toffee SDKs/iOS 11.2/Intents.fx
E:                            Internal error: LPUSH->U163
E:                            Internal error: LPUSH->U163
E:                            Internal error: LPUSH->U163
E:                            Internal error: LPUSH->U163
                       <- Phase Generating Output finished, took 1.7099s.
                       -> Phase Generating Debug Info started.
                       <- Phase Generating Debug Info finished, took 1.4790s.
                       -> Phase Generating Output, Phase 2 started.
E:                            Internal error: System.Exception: Invalid record
  at RemObjects.Elements.Toffee.Output.ObjcOutput.GenerateExecutable () [0x016d7] in <140ae17c85cc41a3a6a197d1b90e5fb8>:0 
  at RemObjects.Oxygene.Code.Compiler.Compiler.GenerateExecutable () [0x00000] in <9cbc20a75fa24c15a6e99bd4b19e91b6>:0 
  at RemObjects.Oxygene.Code.Compiler.Compiler.Compile () [0x0017d] in <9cbc20a75fa24c15a6e99bd4b19e91b6>:0 
                       <- Phase Generating Output, Phase 2 failed.
                    <- Target Toffee-iOS failed compiling for Device.

By definition a compiler bug. We’ll need a full test case to repro though, I’m afraid :(.

I’ll see what I can do (won’t be for a couple of days though, as not in the office tomorrow).

1 Like

It’s something only in 10.x

Can’t get it to replicate any other way so shall I just e-mail you the entire project?

Please, yes.

Thanks, logged as bugs://79391

bugs://79391 got closed with status fixed.