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

Side by Side Diff: tests/language/static_parameter_test.dart

Issue 23872035: Emit compile-time error for 'static' formal parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « tests/co19/co19-dart2js.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013, 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 foo(x
6 , static int y /// 01: compile-time error
7 , final static y /// 02: compile-time error
8 , {static y} /// 03: compile-time error
9 , [static y] /// 04: compile-time error
10 ) {
11 }
Johnni Winther 2013/09/23 07:58:11 Check formals of members as well.
karlklose 2013/09/24 06:57:22 Done.
12
13 main() {
14 foo(1
15 , 1 /// 01: continued
16 , 1 /// 02: continued
17 , y: 1 /// 03: continued
18 , 1 /// 04: continued
19 );
20 }
OLDNEW
« no previous file with comments | « tests/co19/co19-dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698