-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
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
Fix Bad state: NoSuchMethodError: The getter 'length' was called on n… #9
base: master
Are you sure you want to change the base?
Conversation
81805bc
to
b89920e
Compare
also fixes #8 by replacing deprecated calls from analyzer |
final fileUnit = parseFile( | ||
path: uri.toFilePath(windows: Platform.isWindows), | ||
featureSet: FeatureSet.fromEnableFlags2( | ||
flags: [], sdkLanguageVersion: Version(2, 8, 0))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the significance of using version 2.8.0?
@@ -8,7 +8,7 @@ environment: | |||
sdk: ">=2.0.0 <3.0.0" | |||
|
|||
dependencies: | |||
analyzer: '>=0.32.0 <0.50.0' | |||
analyzer: '>=0.40.6 <0.41.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be more permissive
analyzer: '>=0.40.6 <0.41.0' | |
analyzer: '>=0.40.1 <0.42.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Passes all tests. Never done a code review before, so I hope none of my comments are bad or out of line. The only change I would suggest is the minor tweak to the analyzer versions in pubspec
…ull.
The issue makes aqueduct db generate crash 100% of the time if you use a version of dart > 2.8.
You need to merge and release a version of isolate-executor and aqueduct ASAP to fix the issue dating from june.