interpret icon indicating copy to clipboard operation
interpret copied to clipboard

jvm target not work.

Open sonygod opened this issue 4 years ago • 4 comments

jvm target not work.

sonygod avatar Jan 09 '21 05:01 sonygod

Hi, thanks for the issue report!

Unfortunately my current focus is on other projects at the moment so I won’t fix that anytime soon, but I will review Pull Request if anybody want to fix that himself

jeremyfa avatar Jan 09 '21 11:01 jeremyfa

In addition, please elaborate about what doesn’t work. Do you have a compile error to share?

jeremyfa avatar Jan 09 '21 11:01 jeremyfa

./sample/interpretable/WatchedClass.hx:29: Just printing something from sample.interpretable.WatchedClass.printSomething() sample.interpretable.WatchedClass$Closure___init___0.invoke (./sample/interpretable/WatchedClass.hx) interpret.InterpretableTools.createInterpretClass (./interpret/InterpretableTools.hx) interpret.DynamicModule.fromString (./interpret/DynamicModule.hx) [error] java.lang.ExceptionInInitializerError

change WatchedClass code at runtime it throw this error.

sonygod avatar Jan 11 '21 05:01 sonygod

env.addModule(extendingClassPath, DynamicModule.fromString(env, extendingClassName, content, { interpretableOnly: true, interpretableOriginalContent: originalContent, allowUnresolvedImports: true, extendingClassName: extendingClassName, extendedClassName: className }));

it's seem here was wrong .don't support DynamicModule.fromString

sonygod avatar Jan 12 '21 06:01 sonygod