Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Issue 2993223002: [VM parser] Insert missing result type check in async functions using arrow (Closed)

Created:
3 years, 4 months ago by regis
Modified:
3 years, 4 months ago
Reviewers:
cbernaschina, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[VM parser] Insert missing result type check in async functions using arrow style instead of 'return' keyword (fixes #30339). Add regression test. R=asiva@google.com, cbernaschina@google.com Committed: https://github.com/dart-lang/sdk/commit/a18b318fed04a383392d3805326f60fd1bb73bcd

Patch Set 1 #

Total comments: 2

Patch Set 2 : update status file #

Patch Set 3 : update status file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -42 lines) Patch
M runtime/vm/parser.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 3 chunks +49 lines, -42 lines 0 comments Download
M tests/language_2/language_2_analyzer.status View 1 chunk +1 line, -0 lines 0 comments Download
M tests/language_2/language_2_dart2js.status View 1 chunk +1 line, -0 lines 0 comments Download
M tests/language_2/language_2_kernel.status View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A tests/language_2/regress_30339_test.dart View 1 chunk +37 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (2 generated)
regis
3 years, 4 months ago (2017-08-07 22:09:10 UTC) #2
cbernaschina
Should we foresee another possible future regression? https://codereview.chromium.org/2993223002/diff/1/tests/language_2/regress_30339_test.dart File tests/language_2/regress_30339_test.dart (right): https://codereview.chromium.org/2993223002/diff/1/tests/language_2/regress_30339_test.dart#newcode24 tests/language_2/regress_30339_test.dart:24: Future<int> bar() ...
3 years, 4 months ago (2017-08-07 22:19:39 UTC) #3
regis
https://codereview.chromium.org/2993223002/diff/1/tests/language_2/regress_30339_test.dart File tests/language_2/regress_30339_test.dart (right): https://codereview.chromium.org/2993223002/diff/1/tests/language_2/regress_30339_test.dart#newcode24 tests/language_2/regress_30339_test.dart:24: Future<int> bar() async => x; On 2017/08/07 22:19:38, cbernaschina ...
3 years, 4 months ago (2017-08-07 22:37:38 UTC) #4
cbernaschina
On 2017/08/07 22:37:38, regis wrote: > https://codereview.chromium.org/2993223002/diff/1/tests/language_2/regress_30339_test.dart > File tests/language_2/regress_30339_test.dart (right): > > https://codereview.chromium.org/2993223002/diff/1/tests/language_2/regress_30339_test.dart#newcode24 > ...
3 years, 4 months ago (2017-08-07 22:47:18 UTC) #5
regis
On 2017/08/07 22:47:18, cbernaschina wrote: > On 2017/08/07 22:37:38, regis wrote: > > > https://codereview.chromium.org/2993223002/diff/1/tests/language_2/regress_30339_test.dart ...
3 years, 4 months ago (2017-08-07 22:52:05 UTC) #6
siva
LGTM. When I run your test case with the new front end I don't get ...
3 years, 4 months ago (2017-08-07 22:58:42 UTC) #7
cbernaschina
On 2017/08/07 22:52:05, regis wrote: > On 2017/08/07 22:47:18, cbernaschina wrote: > > On 2017/08/07 ...
3 years, 4 months ago (2017-08-07 23:01:31 UTC) #8
regis
On 2017/08/07 22:58:42, siva wrote: > LGTM. > > When I run your test case ...
3 years, 4 months ago (2017-08-07 23:05:11 UTC) #9
regis
On 2017/08/07 23:01:31, cbernaschina wrote: > On 2017/08/07 22:52:05, regis wrote: > > On 2017/08/07 ...
3 years, 4 months ago (2017-08-07 23:12:00 UTC) #10
regis
On 2017/08/07 23:12:00, regis wrote: > On 2017/08/07 23:01:31, cbernaschina wrote: > > On 2017/08/07 ...
3 years, 4 months ago (2017-08-07 23:13:40 UTC) #11
regis
On 2017/08/07 23:13:40, regis wrote: > On 2017/08/07 23:12:00, regis wrote: > > On 2017/08/07 ...
3 years, 4 months ago (2017-08-07 23:17:26 UTC) #12
cbernaschina
On 2017/08/07 23:17:26, regis wrote: > On 2017/08/07 23:13:40, regis wrote: > > On 2017/08/07 ...
3 years, 4 months ago (2017-08-07 23:29:46 UTC) #13
siva
On 2017/08/07 23:05:11, regis wrote: > On 2017/08/07 22:58:42, siva wrote: > > LGTM. > ...
3 years, 4 months ago (2017-08-07 23:32:26 UTC) #14
regis
On 2017/08/07 23:32:26, siva wrote: > On 2017/08/07 23:05:11, regis wrote: > > On 2017/08/07 ...
3 years, 4 months ago (2017-08-07 23:38:00 UTC) #15
regis
3 years, 4 months ago (2017-08-08 16:15:34 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
a18b318fed04a383392d3805326f60fd1bb73bcd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698