interpret
interpret copied to clipboard
jvm target not work.
jvm target not work.
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
In addition, please elaborate about what doesn’t work. Do you have a compile error to share?
./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.
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