-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
implement case labels #29352
Comments
for now I just commented out those tests. |
We're seeing this internally now. |
Hmmm. Mostly pretty straightfoward except for |
Any ETA on this please -- so we can decide to work around or wait. Thanks! |
It's probably a few weeks out (Jenny is out). Can we work around? It's usually pretty easy to do in source. |
I suspect we'll get this fix when we move to the new front end/kernel (perhaps by using an optional lowering pass). If not, well, we can address it. I think thus far we've been able to work around it. |
Flutter uses continue labels (see #29352), but only to the next switch case - i.e., the fall through case. The kernel backend already elides the continue here. This does the same for the analyzer backend. This gets one co19 test passing on ddc (was already passing on ddk). Change-Id: Ifc085415e3d1735c1a534c0683a4c89289820ba0 Reviewed-on: https://dart-review.googlesource.com/c/93462 Commit-Queue: Vijay Menon <vsm@google.com> Reviewed-by: Jenny Messerly <jmesserly@google.com>
Issue: #29352 Issue: #36345 Change-Id: Ic811d0b54784483c1ff642909acf0df1609cf407 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/100570 Commit-Queue: Mark Zhou <markzipan@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com>
@Markzipan - is this still open? The test here appears to work now: #36345 |
This was fixed for DDK but not DDC. We can close this for now since labels are such a rarely used feature (and we're switching to DDK). |
From @jmesserly on July 22, 2015 21:20
https://github.com/dart-lang/dev_compiler/blob/1c029d0902387059b16866c0c41489e7739ea89a/lib/src/codegen/js_codegen.dart#L2512
rarely used outside tests, but async tests trip on this, so hit while looking at #221. I doubt we need a readable solution, rather just a legal translation or some sort.
Copied from original issue: dart-archive/dev_compiler#263
The text was updated successfully, but these errors were encountered: