OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 foo({fisk}) { | 5 foo({fisk}) { |
6 print(fisk); | 6 print(fisk); |
7 } | 7 } |
8 | 8 |
9 caller(f) { | 9 caller(f) { |
10 f(); | 10 f(); |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 print(int); | 68 print(int); |
69 print(int..toString()); | 69 print(int..toString()); |
70 try { | 70 try { |
71 print(int?.toString()); | 71 print(int?.toString()); |
72 throw "Shouldn't work"; | 72 throw "Shouldn't work"; |
73 } on NoSuchMethodError catch (e) { | 73 } on NoSuchMethodError catch (e) { |
74 print("As expected: $e"); | 74 print("As expected: $e"); |
75 } | 75 } |
76 print(int.parse("42")); | 76 print(int.parse("42")); |
77 } | 77 } |
OLD | NEW |