-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-migration (deprecated)Deprecated: this label is no longer actively used (was: issues with the `dart migrate` tool).Deprecated: this label is no longer actively used (was: issues with the `dart migrate` tool).type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Steps to reproduce:
- Check out path package at 1.6.2 (
git checkout 1.6.2). - Migrate to NNBD (e.g.
dart ~/code/dart-sdk/sdk/pkg/dartfix/bin/dartfix.dart --fix=non-nullable --overwrite --outputDir nnbd-i13n .). - Open the migration output for
lib/src/context.dart. Hover over the inserted?instyle as InternalStyle?, current);
The only reason text is:
This function returns a nullable value
But this has nothing to do with it. The issue is that there is a return statement up the AST, so we need more refined reasoning here.
Metadata
Metadata
Assignees
Labels
area-migration (deprecated)Deprecated: this label is no longer actively used (was: issues with the `dart migrate` tool).Deprecated: this label is no longer actively used (was: issues with the `dart migrate` tool).type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)