47724a8491
time to execution time. Still to do (once spec is clarified): - properly handle generic type bounds errors - properly handle 'instance of' type checks involving malformed types - fix bad tests Review URL: https://chromiumcodereview.appspot.com//9515011 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4732 260f80e4-7a28-3924-810f-c04153c831b5
21 lines
523 B
C++
21 lines
523 B
C++
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
#ifndef LIB_ERROR_H_
|
|
#define LIB_ERROR_H_
|
|
|
|
#include "vm/runtime_entry.h"
|
|
|
|
namespace dart {
|
|
|
|
DECLARE_RUNTIME_ENTRY(ConditionTypeError);
|
|
DECLARE_RUNTIME_ENTRY(MalformedTypeError);
|
|
DECLARE_RUNTIME_ENTRY(RestArgumentTypeCheck);
|
|
DECLARE_RUNTIME_ENTRY(TypeCheck);
|
|
|
|
} // namespace dart
|
|
|
|
#endif // LIB_ERROR_H_
|
|
|