-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Giving "const asserts" a whirl #5865
Comments
cc @floitschG |
This issue is in the "top customer requests" milestone. Which customer has requested this? |
Mixed semantics for the Milestone. We wanted to give the Dart team feedback "ASAP", so this was put into the "sooner than later" milestone. To help make this milestone's semantics more clear, I've moved it out. But, if we can, let's try this soonish and send feedback over. |
I think the analyzer support might have a bug, which is making me unsure of the evaluation: The analyzer allows this code: const MultiChildRenderObjectWidget({ Key key, this.children })
: assert(children != null), assert(!children.any((Widget child) => child == null)), super(key: key); But I would have expected it to be an error because https://gist.github.com/lrhn/45bdae95e017ebbf7a84bfbe26dffcae says "the expression in the assert must be a potentially compile-time constant expression". Is this really supported? If so, yay! If not, it will be easier to evaluate after the bug is fixed. |
abarth@983be4b is my experiment so far. The analyzer seems happy with all those changes, but I'm worried that not all the expressions in the asserts are potentially compile-time constant expression. |
Does it run? I mean, if they're not compile-time expressions you'll presumably find out pretty quick if you try to violate the constraint at compile time and the compiler allows it. Ideally the analyzer itself would evaluate the constants to see if they're true. |
cc @bwilkerson for analyzer question (#5865 (comment)) |
I haven't hacked up the engine yet to turn on the flag. |
Any progress? |
@lrhn I never got an answer to my question above. Would you expect this snippet of code to be allowed: const MultiChildRenderObjectWidget({ Key key, this.children })
: assert(children != null), assert(!children.any((Widget child) => child == null)), super(key: key); The type of |
The The current implementation of the analyzer doesn't evaluate the expressions, yet. |
In that case, I'm not able to evaluate const asserts yet because the implementation isn't of sufficient quality to tell me whether a particular assert is allowed. |
On Thu, Oct 20, 2016 at 9:57 PM, Adam Barth [email protected]
A *potential constant expression *is one that is compile-time constant "if Something can definitely slip through that spec hole: it's potentially In any case, we should probably change the spec to only require one side of Until then, you can use: ...: assert(!identical(children, null)), ... which is a compile-time constant expression independent of The second assert is right out. It's not a potentially constant expression. /LLasse R.H. Nielsen - [email protected]
|
Please let me know when there's some program I can run over my code to tell me whether my const asserts are allowed. Until then, I'm not able to evaluate whether they're useful because I don't know what is allowed. |
I checked into the Dart SDK's issues. Sounds like there's a few things we can try? From dart-lang/sdk#27142 "As of https://codereview.chromium.org/2282233002/ the analyzer now accepts the new syntax if the flag enableAssertInitializer is included in the language section of the analysis options file." From dart-lang/sdk#24841 (comment) "I have landed an experimental implementation of assert in initializer lists, including const initializer lists, for the VM. It is guarded behind a flag --assert-initializer." Are those sufficient to try this feature? @abarth by "are allowed" above, did you mean "don't throw exceptions when evaluated" ? |
Chatted offline with @abarth . We're going to follow up on the Dart SDK's issue re: the analyzer's implementation of this feature. dart-lang/sdk#27142 |
Update for those following along. The analyzer should now check that "the expressions in an assert in the initializer list of a const constructor are all potentially const expressions". We are waiting for a Dart SDK roll (#6840), in order to test this new feature again. Stand by... |
Will the analyzer actually check the assertions though? Because that's what would really be useful... |
No. At the moment it will only check that the expressions are potentially constant expressions. |
@Hixie the VM/compiler should check them at compile time, if I understand correctly. We need to pass a flag to the VM/compiler to enable this, though. @bwilkerson : is it possible for the analyzer to evaluate const assets at static analysis time? |
Landed Dart SDK |
Thanks @pq ! Ball's in our court now. |
OK, did some testing. The VM appears to evaluate asserts in const constructor initialization lists, at compile time, IF you use
Neat! The formatter doesn't work, but maybe I'm doing it wrong:
Tracking at: dart-lang/dart_style#522 The analyzer seems to work, if you turn on the feature in your .analysis_options file:
and
And the analyzer tells the developer if they use a non-const expression in the asserts:
|
Wait wait wait. Just to be clear, this is not a new language feature. It is a proposed language feature experiment. We haven't committed to shipping it as part of the language as far as I know. |
I've updated my comment in #5865 (comment) to reflect that it's experimental and proposed. Thanks for the clarification. |
OK, thanks. Just wanted to make sure. |
[email protected]:flutter/engine.git /+log/95e91e31fad8..66f87f4 git log 95e91e3..66f87f4 --date=short --no-merges --format='%ad %ae %s' 2018-07-26 [email protected] Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2018-07-26 [email protected] Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) 2018-07-26 [email protected] Unify trailing spaces / new lines (flutter#5871) 2018-07-26 [email protected] Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 2018-07-25 [email protected] Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) 2018-07-25 [email protected] Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 2018-07-25 [email protected] Rename clip to clipBehavior in compositing.dart (flutter#5868) 2018-07-25 [email protected] Support customizing standard accessibility actions on Android. (flutter#5823) 2018-07-25 [email protected] Make //flutter/synchronization Garnet free. (flutter#5865) 2018-07-25 [email protected] Remove //flutter/glue and use FML directly. (flutter#5862) 2018-07-25 [email protected] Package Skia licenses into a separate file from other third party libraries (flutter#5861) 2018-07-25 [email protected] Pass touch events to embedded Android views with dispatchTouchEvents. 2018-07-23 [email protected] Synthesize Android MotionEvents with the long form obtain method. 2018-07-25 [email protected] Roll src/third_party/skia 396661825f45..1c94a8fabed7 (8 commits) (flutter#5859) 2018-07-25 [email protected] Rename clip mode to clip behavior (flutter#5853) 2018-07-25 [email protected] Make the virtual display's presentation window non focusable. (flutter#5845) 2018-07-25 [email protected] Roll src/third_party/skia c062b6be5a01..396661825f45 (3 commits) (flutter#5857) 2018-07-25 [email protected] Roll src/third_party/skia 15020ea2cf44..c062b6be5a01 (1 commits) (flutter#5856) 2018-07-25 [email protected] Roll src/third_party/skia 4c7a750e5543..15020ea2cf44 (1 commits) (flutter#5855) 2018-07-24 [email protected] Roll src/third_party/skia 75e5406be66a..4c7a750e5543 (2 commits) (flutter#5854) 2018-07-24 [email protected] Roll src/third_party/skia b8eeb808d84f..75e5406be66a (17 commits) (flutter#5852) 2018-07-24 [email protected] Remove check_roll from Travis (flutter#5846) Created with: gclient setdep -r engine@66f87f4f4cd7 The AutoRoll server is located here: http://localhost:8000 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
[email protected]:flutter/engine.git /+log/95e91e31fad8..66f87f4 git log 95e91e3..66f87f4 --date=short --no-merges --format='%ad %ae %s' 2018-07-26 [email protected] Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2018-07-26 [email protected] Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) 2018-07-26 [email protected] Unify trailing spaces / new lines (flutter#5871) 2018-07-26 [email protected] Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 2018-07-25 [email protected] Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) 2018-07-25 [email protected] Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 2018-07-25 [email protected] Rename clip to clipBehavior in compositing.dart (flutter#5868) 2018-07-25 [email protected] Support customizing standard accessibility actions on Android. (flutter#5823) 2018-07-25 [email protected] Make //flutter/synchronization Garnet free. (flutter#5865) 2018-07-25 [email protected] Remove //flutter/glue and use FML directly. (flutter#5862) 2018-07-25 [email protected] Package Skia licenses into a separate file from other third party libraries (flutter#5861) 2018-07-25 [email protected] Pass touch events to embedded Android views with dispatchTouchEvents. 2018-07-23 [email protected] Synthesize Android MotionEvents with the long form obtain method. 2018-07-25 [email protected] Roll src/third_party/skia 396661825f45..1c94a8fabed7 (8 commits) (flutter#5859) 2018-07-25 [email protected] Rename clip mode to clip behavior (flutter#5853) 2018-07-25 [email protected] Make the virtual display's presentation window non focusable. (flutter#5845) 2018-07-25 [email protected] Roll src/third_party/skia c062b6be5a01..396661825f45 (3 commits) (flutter#5857) 2018-07-25 [email protected] Roll src/third_party/skia 15020ea2cf44..c062b6be5a01 (1 commits) (flutter#5856) 2018-07-25 [email protected] Roll src/third_party/skia 4c7a750e5543..15020ea2cf44 (1 commits) (flutter#5855) 2018-07-24 [email protected] Roll src/third_party/skia 75e5406be66a..4c7a750e5543 (2 commits) (flutter#5854) 2018-07-24 [email protected] Roll src/third_party/skia b8eeb808d84f..75e5406be66a (17 commits) (flutter#5852) 2018-07-24 [email protected] Remove check_roll from Travis (flutter#5846) Created with: gclient setdep -r engine@66f87f4f4cd7 The AutoRoll server is located here: http://localhost:8000 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/flutter@95e91e3...66f87f4f4cd704c49e465d0c2a87cdc794de359e/+log/95e91e31fad8..66f87f4f4cd7 git log 95e91e3..66f87f4 --date=short --no-merges --format='%ad %ae %s' 2018-07-26 [email protected] Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2018-07-26 [email protected] Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) 2018-07-26 [email protected] Unify trailing spaces / new lines (flutter#5871) 2018-07-26 [email protected] Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 2018-07-25 [email protected] Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) 2018-07-25 [email protected] Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 2018-07-25 [email protected] Rename clip to clipBehavior in compositing.dart (flutter#5868) 2018-07-25 [email protected] Support customizing standard accessibility actions on Android. (flutter#5823) 2018-07-25 [email protected] Make //flutter/synchronization Garnet free. (flutter#5865) 2018-07-25 [email protected] Remove //flutter/glue and use FML directly. (flutter#5862) 2018-07-25 [email protected] Package Skia licenses into a separate file from other third party libraries (flutter#5861) 2018-07-25 [email protected] Pass touch events to embedded Android views with dispatchTouchEvents. 2018-07-23 [email protected] Synthesize Android MotionEvents with the long form obtain method. 2018-07-25 [email protected] Roll src/third_party/skia 396661825f45..1c94a8fabed7 (8 commits) (flutter#5859) 2018-07-25 [email protected] Rename clip mode to clip behavior (flutter#5853) 2018-07-25 [email protected] Make the virtual display's presentation window non focusable. (flutter#5845) 2018-07-25 [email protected] Roll src/third_party/skia c062b6be5a01..396661825f45 (3 commits) (flutter#5857) 2018-07-25 [email protected] Roll src/third_party/skia 15020ea2cf44..c062b6be5a01 (1 commits) (flutter#5856) 2018-07-25 [email protected] Roll src/third_party/skia 4c7a750e5543..15020ea2cf44 (1 commits) (flutter#5855) 2018-07-24 [email protected] Roll src/third_party/skia 75e5406be66a..4c7a750e5543 (2 commits) (flutter#5854) 2018-07-24 [email protected] Roll src/third_party/skia b8eeb808d84f..75e5406be66a (17 commits) (flutter#5852) 2018-07-24 [email protected] Remove check_roll from Travis (flutter#5846) Created with: gclient setdep -r engine@66f87f4f4cd7 The AutoRoll server is located here: http://localhost:8000 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@95e91e3...2c6fa0d7b026d3b4c8196820946016ec821bd171/+log/95e91e31fad8..2c6fa0d7b026 git log 95e91e3..2c6fa0d --date=short --no-merges --format='%ad %ae %s' 2018-07-26 [email protected] Roll src/third_party/skia b64db38b854b..897f256413c1 (4 commits) (flutter#5875) 2018-07-26 [email protected] Support hot reload in corejit mode (flutter#5866) 2018-07-26 [email protected] Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2018-07-26 [email protected] Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) 2018-07-26 [email protected] Unify trailing spaces / new lines (flutter#5871) 2018-07-26 [email protected] Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 2018-07-25 [email protected] Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) 2018-07-25 [email protected] Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 2018-07-25 [email protected] Rename clip to clipBehavior in compositing.dart (flutter#5868) 2018-07-25 [email protected] Support customizing standard accessibility actions on Android. (flutter#5823) 2018-07-25 [email protected] Make //flutter/synchronization Garnet free. (flutter#5865) 2018-07-25 [email protected] Remove //flutter/glue and use FML directly. (flutter#5862) 2018-07-25 [email protected] Package Skia licenses into a separate file from other third party libraries (flutter#5861) 2018-07-25 [email protected] Pass touch events to embedded Android views with dispatchTouchEvents. 2018-07-23 [email protected] Synthesize Android MotionEvents with the long form obtain method. 2018-07-25 [email protected] Roll src/third_party/skia 396661825f45..1c94a8fabed7 (8 commits) (flutter#5859) 2018-07-25 [email protected] Rename clip mode to clip behavior (flutter#5853) 2018-07-25 [email protected] Make the virtual display's presentation window non focusable. (flutter#5845) 2018-07-25 [email protected] Roll src/third_party/skia c062b6be5a01..396661825f45 (3 commits) (flutter#5857) 2018-07-25 [email protected] Roll src/third_party/skia 15020ea2cf44..c062b6be5a01 (1 commits) (flutter#5856) 2018-07-25 [email protected] Roll src/third_party/skia 4c7a750e5543..15020ea2cf44 (1 commits) (flutter#5855) 2018-07-24 [email protected] Roll src/third_party/skia 75e5406be66a..4c7a750e5543 (2 commits) (flutter#5854) 2018-07-24 [email protected] Roll src/third_party/skia b8eeb808d84f..75e5406be66a (17 commits) (flutter#5852) 2018-07-24 [email protected] Remove check_roll from Travis (flutter#5846) Created with: gclient setdep -r engine@2c6fa0d7b026 The AutoRoll server is located here: http://localhost:8000 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary.
flutter/engine@95e91e3...503ba7c 2018-07-26 [email protected] Dart SDK roll for 2018/07/26 (flutter#5876) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia b64db38b854b..897f256413c1 (4 commits) (flutter#5875) 2018-07-26 [email protected] Support hot reload in corejit mode (flutter#5866) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) 2018-07-26 [email protected] Unify trailing spaces / new lines (flutter#5871) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 2018-07-25 [email protected] Rename clip to clipBehavior in compositing.dart (flutter#5868) 2018-07-25 [email protected] Support customizing standard accessibility actions on Android. (flutter#5823) 2018-07-25 [email protected] Make //flutter/synchronization Garnet free. (flutter#5865) 2018-07-25 [email protected] Remove //flutter/glue and use FML directly. (flutter#5862) 2018-07-25 [email protected] Package Skia licenses into a separate file from other third party libraries (flutter#5861) 2018-07-25 [email protected] Pass touch events to embedded Android views with dispatchTouchEvents. 2018-07-23 [email protected] Synthesize Android MotionEvents with the long form obtain method. 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 396661825f45..1c94a8fabed7 (8 commits) (flutter#5859) 2018-07-25 [email protected] Rename clip mode to clip behavior (flutter#5853) 2018-07-25 [email protected] Make the virtual display&flutter#39;s presentation window non focusable. (flutter#5845) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia c062b6be5a01..396661825f45 (3 commits) (flutter#5857) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 15020ea2cf44..c062b6be5a01 (1 commits) (flutter#5856) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 4c7a750e5543..15020ea2cf44 (1 commits) (flutter#5855) 2018-07-24 37626415&flutter#43;[email protected] Roll src/third_party/skia 75e5406be66a..4c7a750e5543 (2 commits) (flutter#5854) 2018-07-24 37626415&flutter#43;[email protected] Roll src/third_party/skia b8eeb808d84f..75e5406be66a (17 commits) (flutter#5852) 2018-07-24 [email protected] Remove check_roll from Travis (flutter#5846) The AutoRoll server is located here: http://localhost:8000 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC&flutter#39;d on the roll, and stop the roller if necessary.
dbd2f57 Roll src/third_party/skia 897f256413c1..f27b479f957d (12 commits) (flutter#5878) 76e9f79 Only check trailing spaces for dart and don't check for CRLF (flutter#5877) 9f8285a Remove all dependencies on Garnet. (flutter#5869) 503ba7c Dart SDK roll for 2018/07/26 (flutter#5876) 2c6fa0d Roll src/third_party/skia b64db38b854b..897f256413c1 (4 commits) (flutter#5875) f480e32 Support hot reload in corejit mode (flutter#5866) 66f87f4 Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2193ff4 Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) aef291b Unify trailing spaces / new lines (flutter#5871) 6193743 Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 7624c8a Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) cfcb701 Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 1d1c8c7 Rename clip to clipBehavior in compositing.dart (flutter#5868) d559afb Support customizing standard accessibility actions on Android. (flutter#5823) 228cecc Make //flutter/synchronization Garnet free. (flutter#5865) 336c23f Remove //flutter/glue and use FML directly. (flutter#5862)
896441a Roll buildroot to 4fd7a2738de8fc8f9b498437cde96c1bf7562a04 (flutter#5880) de206ea Update GetDirectoryName namespace to the one in FML on Linux. (flutter#5879) dbd2f57 Roll src/third_party/skia 897f256413c1..f27b479f957d (12 commits) (flutter#5878) 76e9f79 Only check trailing spaces for dart and don't check for CRLF (flutter#5877) 9f8285a Remove all dependencies on Garnet. (flutter#5869) 503ba7c Dart SDK roll for 2018/07/26 (flutter#5876) 2c6fa0d Roll src/third_party/skia b64db38b854b..897f256413c1 (4 commits) (flutter#5875) f480e32 Support hot reload in corejit mode (flutter#5866) 66f87f4 Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2193ff4 Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) aef291b Unify trailing spaces / new lines (flutter#5871) 6193743 Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 7624c8a Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) cfcb701 Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 1d1c8c7 Rename clip to clipBehavior in compositing.dart (flutter#5868) d559afb Support customizing standard accessibility actions on Android. (flutter#5823) 228cecc Make //flutter/synchronization Garnet free. (flutter#5865) 336c23f Remove //flutter/glue and use FML directly. (flutter#5862)
flutter/engine@95e91e3...8b8c52e git log 95e91e3..8b8c52e --date=short --no-merges --format='%%ad %%ae %%s' 2018-07-27 37626415&flutter#43;[email protected] Roll src/third_party/skia b935cf8e12d7..55b1e6168454 (1 commits) (flutter#5886) 2018-07-26 [email protected] [scenic] Expose compositor context from rasterizer. (flutter#5739) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia 5f1dc76d0cec..b935cf8e12d7 (1 commits) (flutter#5885) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia f27b479f957d..5f1dc76d0cec (1 commits) (flutter#5884) 2018-07-26 [email protected] Fix compilation trace memory management problem 2018-07-26 [email protected] Revert &flutter#34;Dart SDK roll for 2018/07/26 (flutter#5876)&flutter#34; (flutter#5881) 2018-07-26 [email protected] Roll buildroot to 4fd7a2738de8fc8f9b498437cde96c1bf7562a04 (flutter#5880) 2018-07-26 [email protected] Update GetDirectoryName namespace to the one in FML on Linux. (flutter#5879) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia 897f256413c1..f27b479f957d (12 commits) (flutter#5878) 2018-07-26 [email protected] Only check trailing spaces for dart and don&flutter#39;t check for CRLF (flutter#5877) 2018-07-26 [email protected] Remove all dependencies on Garnet. (flutter#5869) 2018-07-26 [email protected] Dart SDK roll for 2018/07/26 (flutter#5876) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia b64db38b854b..897f256413c1 (4 commits) (flutter#5875) 2018-07-26 [email protected] Support hot reload in corejit mode (flutter#5866) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) 2018-07-26 [email protected] Unify trailing spaces / new lines (flutter#5871) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 2018-07-25 [email protected] Rename clip to clipBehavior in compositing.dart (flutter#5868) 2018-07-25 [email protected] Support customizing standard accessibility actions on Android. (flutter#5823) 2018-07-25 [email protected] Make //flutter/synchronization Garnet free. (flutter#5865) 2018-07-25 [email protected] Remove //flutter/glue and use FML directly. (flutter#5862) 2018-07-25 [email protected] Package Skia licenses into a separate file from other third party libraries (flutter#5861) 2018-07-25 [email protected] Pass touch events to embedded Android views with dispatchTouchEvents. 2018-07-23 [email protected] Synthesize Android MotionEvents with the long form obtain method. 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 396661825f45..1c94a8fabed7 (8 commits) (flutter#5859) 2018-07-25 [email protected] Rename clip mode to clip behavior (flutter#5853) 2018-07-25 [email protected] Make the virtual display&flutter#39;s presentation window non focusable. (flutter#5845) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia c062b6be5a01..396661825f45 (3 commits) (flutter#5857) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 15020ea2cf44..c062b6be5a01 (1 commits) (flutter#5856) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 4c7a750e5543..15020ea2cf44 (1 commits) (flutter#5855) 2018-07-24 37626415&flutter#43;[email protected] Roll src/third_party/skia 75e5406be66a..4c7a750e5543 (2 commits) (flutter#5854) 2018-07-24 37626415&flutter#43;[email protected] Roll src/third_party/skia b8eeb808d84f..75e5406be66a (17 commits) (flutter#5852) 2018-07-24 [email protected] Remove check_roll from Travis (flutter#5846) The AutoRoll server is located here: http://localhost:8000 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC&flutter#39;d on the roll, and stop the roller if necessary.
flutter/engine@95e91e3...8b8c52e git log 95e91e3..8b8c52e --date=short --no-merges --format='%%ad %%ae %%s' 2018-07-27 37626415&flutter#43;[email protected] Roll src/third_party/skia b935cf8e12d7..55b1e6168454 (1 commits) (flutter#5886) 2018-07-26 [email protected] [scenic] Expose compositor context from rasterizer. (flutter#5739) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia 5f1dc76d0cec..b935cf8e12d7 (1 commits) (flutter#5885) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia f27b479f957d..5f1dc76d0cec (1 commits) (flutter#5884) 2018-07-26 [email protected] Fix compilation trace memory management problem 2018-07-26 [email protected] Revert &flutter#34;Dart SDK roll for 2018/07/26 (flutter#5876)&flutter#34; (flutter#5881) 2018-07-26 [email protected] Roll buildroot to 4fd7a2738de8fc8f9b498437cde96c1bf7562a04 (flutter#5880) 2018-07-26 [email protected] Update GetDirectoryName namespace to the one in FML on Linux. (flutter#5879) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia 897f256413c1..f27b479f957d (12 commits) (flutter#5878) 2018-07-26 [email protected] Only check trailing spaces for dart and don&flutter#39;t check for CRLF (flutter#5877) 2018-07-26 [email protected] Remove all dependencies on Garnet. (flutter#5869) 2018-07-26 [email protected] Dart SDK roll for 2018/07/26 (flutter#5876) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia b64db38b854b..897f256413c1 (4 commits) (flutter#5875) 2018-07-26 [email protected] Support hot reload in corejit mode (flutter#5866) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia f3ac64df1741..b64db38b854b (1 commits) (flutter#5874) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia e54cd95dc3ae..f3ac64df1741 (1 commits) (flutter#5873) 2018-07-26 [email protected] Unify trailing spaces / new lines (flutter#5871) 2018-07-26 37626415&flutter#43;[email protected] Roll src/third_party/skia 97613523e357..e54cd95dc3ae (1 commits) (flutter#5872) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 68300c270916..97613523e357 (2 commits) (flutter#5870) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 1c94a8fabed7..68300c270916 (4 commits) (flutter#5867) 2018-07-25 [email protected] Rename clip to clipBehavior in compositing.dart (flutter#5868) 2018-07-25 [email protected] Support customizing standard accessibility actions on Android. (flutter#5823) 2018-07-25 [email protected] Make //flutter/synchronization Garnet free. (flutter#5865) 2018-07-25 [email protected] Remove //flutter/glue and use FML directly. (flutter#5862) 2018-07-25 [email protected] Package Skia licenses into a separate file from other third party libraries (flutter#5861) 2018-07-25 [email protected] Pass touch events to embedded Android views with dispatchTouchEvents. 2018-07-23 [email protected] Synthesize Android MotionEvents with the long form obtain method. 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 396661825f45..1c94a8fabed7 (8 commits) (flutter#5859) 2018-07-25 [email protected] Rename clip mode to clip behavior (flutter#5853) 2018-07-25 [email protected] Make the virtual display&flutter#39;s presentation window non focusable. (flutter#5845) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia c062b6be5a01..396661825f45 (3 commits) (flutter#5857) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 15020ea2cf44..c062b6be5a01 (1 commits) (flutter#5856) 2018-07-25 37626415&flutter#43;[email protected] Roll src/third_party/skia 4c7a750e5543..15020ea2cf44 (1 commits) (flutter#5855) 2018-07-24 37626415&flutter#43;[email protected] Roll src/third_party/skia 75e5406be66a..4c7a750e5543 (2 commits) (flutter#5854) 2018-07-24 37626415&flutter#43;[email protected] Roll src/third_party/skia b8eeb808d84f..75e5406be66a (17 commits) (flutter#5852) 2018-07-24 [email protected] Remove check_roll from Travis (flutter#5846) The AutoRoll server is located here: http://localhost:8000 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC&flutter#39;d on the roll, and stop the roller if necessary.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
We should be able to experiment with "const asserts". The Dart team would love our feedback.
For analyzer: dart-lang/sdk#27142 (comment)
tldr: "enableAssertInitializer is included in the language section of the analysis options file"
For VM: dart-lang/sdk#24841 (comment)
tldr: "use flag --assert-initializer."
Thanks!
The text was updated successfully, but these errors were encountered: