Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Dart 2] Add support for Dart 2 #754
Description of the PR
Added an config option for Dart 2.
@swipesight thanks for the PR. Is it correct to say that this will break users using Dart 1.x? Shall we add an option e.g.
I believe most Dart developers should still be using Dart 1.x as Dart 2.0.0 (stable version) was only released yesterday/today.
Python flask generator has something similar:
Search for supportPython2 or SUPPORT_PYAHON2 will reveal how the option is implemented in that file.
Hope this helps.
changed the title from
[Dart 2] Constants in the core libraries have been renamed from SCREA…
[Dart 2] Support Dart 2
Aug 17, 2018
@swipesight I tried to add Dart2 petstore samples to the Travis build but it reports the following error:
Would you please take a look when you've time?
Basically, the test runs the following in the folder
pub get pub build test