We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Reassigning a variable causes a null exception to be thrown.
Unhandled exception: NoSuchMethodError: The getter 'type' was called on null. Receiver: null Tried calling: type #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5) #1 visitVarAssignment (package:Birb/utils/runtime.dart:504:17) <asynchronous suspension> #2 visit (package:Birb/utils/runtime.dart:219:20) #3 visitCompound (package:Birb/utils/runtime.dart:869:25) <asynchronous suspension> #4 visit (package:Birb/utils/runtime.dart:245:20) #5 main (package:Birb/birb.dart:43:15) #6 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32) #7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
To Reproduce Steps to reproduce the behavior:
birb
var x = 1; x = 2;
runBirb
Expected behavior Expected no error to be thrown
The text was updated successfully, but these errors were encountered:
Corrected in 4abdc29
Sorry, something went wrong.
Calamity210
No branches or pull requests
Describe the bug
Reassigning a variable causes a null exception to be thrown.
To Reproduce
Steps to reproduce the behavior:
birb
commandrunBirb
commandExpected behavior
Expected no error to be thrown
The text was updated successfully, but these errors were encountered: