build
build copied to clipboard
Failed to precompile build_runner:build_runner:
Failed to precompile build_runner:build_runner:
Crash when compiling package:build_config/src/builder_definition.dart,
at character offset null:
Bad state: No element
#0 List.first (dart:core/runtime/libgrowable_array.dart:215:5)
#1 BodyBuilder.finishFields (package:front_end/src/fasta/kernel/body_builder.dart:547:28)
#2 DietListener.listenerFinishFields (package:front_end/src/fasta/source/diet_listener.dart:804:14)
#3 DietListener.parseFields (package:front_end/src/fasta/source/diet_listener.dart:847:5)
#4 DietListener.buildFields (package:front_end/src/fasta/source/diet_listener.dart:654:5)
#5 DietListener.endFields (package:front_end/src/fasta/source/diet_listener.dart:284:5)
#6 Parser.parseFields (package:front_end/src/fasta/parser/parser.dart:2251:16)
#7 Parser.parseClassOrMixinMemberImpl (package:front_end/src/fasta/parser/parser.dart:2910:15)
#8 Parser.parseClassOrMixinBody (package:front_end/src/fasta/parser/parser.dart:2700:15)
#9 Parser.parseClass (package:front_end/src/fasta/parser/parser.dart:1710:13)
#10 Parser.parseClassOrNamedMixinApplication (package:front_end/src/fasta/parser/parser.dart:1670:14)
#11 Parser.parseTopLevelKeywordDeclaration (package:front_end/src/fasta/parser/parser.dart:565:14)
#12 Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:457:14)
#13 Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:336:15)
#14 SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:253:14)
Hmm, is this reproducible or did it just happen once? It seems like a possible kernel bug.
What version of the SDK are you on?
What version of the build_* packages?
closing this for now, assuming it is stale. please respond with more info if it is still a problem
having this issue. pub upgrade does not work for me
@softmarshmallow can you attach the output from pub deps
?
What is the specific command you are running to see this stack trace?