Skip to content

pub run doesn't support --enable-experiment=non-nullable #2436

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

Closed
a-siva opened this issue Apr 7, 2020 · 2 comments
Closed

pub run doesn't support --enable-experiment=non-nullable #2436

a-siva opened this issue Apr 7, 2020 · 2 comments

Comments

@a-siva
Copy link

a-siva commented Apr 7, 2020

@mit-mit commented on Mon Apr 06 2020

bin mit$ ./pub run --enable-experiment=non-nullable ~/tmp/app01/bin/main.dart
Could not find an option named "enable-experiment".
@jonasfj jonasfj changed the title pub doesn't support --enable-experiment=non-nullable pub run doesn't support --enable-experiment=non-nullable Apr 7, 2020
@jakemac53
Copy link
Contributor

jakemac53 commented Apr 9, 2020

@kevmoo filed another issue somewhere - this likely needs to be implemented in the shell/bat scripts since pub itself most likely has to be launched with the experiment in order for its isolates to inherit it.

@kevmoo
Copy link
Member

kevmoo commented Apr 9, 2020

This should go back to the SDK. The way to implement this will be in the SDK wrapper scripts – not in code in this repo.

@kevmoo kevmoo closed this as completed Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants