ethanblake4 / dart_eval

Extensible Dart interpreter for Dart with full interop

Home Page:https://pub.dev/packages/dart_eval

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Method not found [] on int at unknown

cuifengcn opened this issue · comments

commented

I have multi Compiler(), when running individually, everything functions properly; however, upon completing one execution and proceeding to the next, an error is encountered, as follows:

Method not found [] on int at unknown (file package:music/music_main.dart)

The relevant error-causing widget was: 
  NavigationView NavigationView:file:///C:/Users/14438/AndroidStudioProjects/xx/lib/screens/xx.dart:91:18
When the exception was thrown, this was the stack: 
#0      Compiler.compileSources (package:dart_eval/src/eval/compiler/compiler.dart:497:7)
#1      Compiler.compile (package:dart_eval/src/eval/compiler/compiler.dart:164:12)

Furthermore, I am entirely perplexed as to why such an error would be reported.

I need more information in order to reproduce this. Can you make a small example that demonstrates this error?