Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2015, 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 /// Test derived from a broken co19 test | |
| 6 /// (LayoutTests/fast/mediastream/getusermedia_t01.dart). Caused dart2js to | |
| 7 /// crash. | |
| 8 | |
| 9 foo() {} | |
| 10 | |
| 11 gotStream1(stream) { | |
| 12 foo() | |
| 13 . /// 01: compile-time error | |
| 14 .then(); | |
| 15 } | |
| 16 | |
| 17 void main() { | |
| 18 print(gotStream1); | |
| 19 } | |
| OLD | NEW |