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

Side by Side Diff: tests/compiler/dart2js/closure/data/parameter_in_try.dart

Issue 2938203003: Compute KernelClosureRepresentationInfo.variableIsUsedInTryOrSync (Closed)
Patch Set: Rebased Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 readInFinally(/*inTry*/ parameter) {
6 try {
7 if (parameter) {
8 throw '';
9 }
10 } finally {}
11 }
12
13 writeInFinally(/*inTry*/ parameter) {
14 try {
15 parameter = 42;
16 throw '';
17 } finally {}
18 }
19
20 main() {
21 readInFinally(null);
22 writeInFinally(null);
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698