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

Side by Side Diff: dart/tests/try/web/program_result.dart

Issue 654523003: Handle top-level tear offs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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
OLDNEW
(Empty)
1 // Copyright (c) 2014, 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 library trydart.test.program_result;
6
7 class ProgramResult {
8 final String code;
9
10 final List<String> messages;
11
12 const ProgramResult(this.code, this.messages);
13
14 List<String> messagesWith(String extra) {
15 return new List<String>.from(messages)..add(extra);
16 }
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698