OLD | NEW |
1 // Copyright (c) 2015, the Fletch 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library servicec.errors; | 5 library servicec.errors; |
6 | 6 |
7 import 'package:compiler/src/tokens/token.dart' show | 7 import 'package:compiler/src/tokens/token.dart' show |
8 Token; | 8 Token; |
9 | 9 |
10 import 'package:compiler/src/util/characters.dart' show | 10 import 'package:compiler/src/util/characters.dart' show |
11 $LF; | 11 $LF; |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 | 421 |
422 class BadTypeParameterError extends BadTypeError { | 422 class BadTypeParameterError extends BadTypeError { |
423 ErrorTag get tag => ErrorTag.badTypeParameter; | 423 ErrorTag get tag => ErrorTag.badTypeParameter; |
424 String get errorMessage => "Unexpected type parameter."; | 424 String get errorMessage => "Unexpected type parameter."; |
425 String get infoMessage => "Expected a primitive type or a structure as " + | 425 String get infoMessage => "Expected a primitive type or a structure as " + |
426 "the List type parameter."; | 426 "the List type parameter."; |
427 | 427 |
428 BadTypeParameterError(TypeNode type) | 428 BadTypeParameterError(TypeNode type) |
429 : super(type); | 429 : super(type); |
430 } | 430 } |
OLD | NEW |