OLD | NEW |
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'dart:fletch._system' as fletch; | 5 import 'dart:dartino._system' as dartino; |
6 import 'dart:fletch._system' show patch; | 6 import 'dart:dartino._system' show patch; |
7 | 7 |
8 @patch @fletch.native external void printToConsole(String line); | 8 @patch @dartino.native external void printToConsole(String line); |
9 | 9 |
10 @patch class Symbol { | 10 @patch class Symbol { |
11 // TODO(ajohnsen): Decide what to do with 'name'. | 11 // TODO(ajohnsen): Decide what to do with 'name'. |
12 @patch const Symbol(String name) : _name = name; | 12 @patch const Symbol(String name) : _name = name; |
13 } | 13 } |
OLD | NEW |