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

Side by Side Diff: tests/compiler/dart2js/semantic_visitor_test.dart

Issue 1342213003: Add optional message to assert in Dart2js - continued (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Add --assert-message flag Created 5 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart 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 dart2js.semantics_visitor_test; 5 library dart2js.semantics_visitor_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:mirrors'; 8 import 'dart:mirrors';
9 import 'package:async_helper/async_helper.dart'; 9 import 'package:async_helper/async_helper.dart';
10 import 'package:expect/expect.dart'; 10 import 'package:expect/expect.dart';
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
666 666
667 VISIT_INDEX_SET, 667 VISIT_INDEX_SET,
668 VISIT_COMPOUND_INDEX_SET, 668 VISIT_COMPOUND_INDEX_SET,
669 VISIT_SUPER_INDEX_SET, 669 VISIT_SUPER_INDEX_SET,
670 VISIT_UNRESOLVED_SUPER_INDEX_SET, 670 VISIT_UNRESOLVED_SUPER_INDEX_SET,
671 VISIT_SUPER_COMPOUND_INDEX_SET, 671 VISIT_SUPER_COMPOUND_INDEX_SET,
672 VISIT_UNRESOLVED_SUPER_COMPOUND_INDEX_SET, 672 VISIT_UNRESOLVED_SUPER_COMPOUND_INDEX_SET,
673 VISIT_UNRESOLVED_SUPER_GETTER_COMPOUND_INDEX_SET, 673 VISIT_UNRESOLVED_SUPER_GETTER_COMPOUND_INDEX_SET,
674 VISIT_UNRESOLVED_SUPER_SETTER_COMPOUND_INDEX_SET, 674 VISIT_UNRESOLVED_SUPER_SETTER_COMPOUND_INDEX_SET,
675 675
676 VISIT_ASSERT,
677 VISIT_LOGICAL_AND, 676 VISIT_LOGICAL_AND,
678 VISIT_LOGICAL_OR, 677 VISIT_LOGICAL_OR,
679 VISIT_IS, 678 VISIT_IS,
680 VISIT_IS_NOT, 679 VISIT_IS_NOT,
681 VISIT_AS, 680 VISIT_AS,
682 681
683 VISIT_CONST_CONSTRUCTOR_INVOKE, 682 VISIT_CONST_CONSTRUCTOR_INVOKE,
684 VISIT_BOOL_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, 683 VISIT_BOOL_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE,
685 VISIT_INT_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, 684 VISIT_INT_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE,
686 VISIT_STRING_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, 685 VISIT_STRING_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 727
729 VISIT_IF_NULL, 728 VISIT_IF_NULL,
730 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_GET, 729 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_GET,
731 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_SET, 730 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_SET,
732 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_INVOKE, 731 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_INVOKE,
733 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_COMPOUND, 732 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_COMPOUND,
734 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_SET_IF_NULL, 733 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_SET_IF_NULL,
735 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_PREFIX, 734 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_PREFIX,
736 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_POSTFIX, 735 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_POSTFIX,
737 736
738 ERROR_INVALID_ASSERT,
739 ERROR_UNDEFINED_UNARY_EXPRESSION, 737 ERROR_UNDEFINED_UNARY_EXPRESSION,
740 ERROR_UNDEFINED_BINARY_EXPRESSION, 738 ERROR_UNDEFINED_BINARY_EXPRESSION,
741 ERROR_INVALID_GET, 739 ERROR_INVALID_GET,
742 ERROR_INVALID_INVOKE, 740 ERROR_INVALID_INVOKE,
743 ERROR_INVALID_SET, 741 ERROR_INVALID_SET,
744 ERROR_INVALID_PREFIX, 742 ERROR_INVALID_PREFIX,
745 ERROR_INVALID_POSTFIX, 743 ERROR_INVALID_POSTFIX,
746 ERROR_INVALID_COMPOUND, 744 ERROR_INVALID_COMPOUND,
747 ERROR_INVALID_SET_IF_NULL, 745 ERROR_INVALID_SET_IF_NULL,
748 ERROR_INVALID_UNARY, 746 ERROR_INVALID_UNARY,
749 ERROR_INVALID_EQUALS, 747 ERROR_INVALID_EQUALS,
750 ERROR_INVALID_NOT_EQUALS, 748 ERROR_INVALID_NOT_EQUALS,
751 ERROR_INVALID_BINARY, 749 ERROR_INVALID_BINARY,
752 ERROR_INVALID_INDEX, 750 ERROR_INVALID_INDEX,
753 ERROR_INVALID_INDEX_SET, 751 ERROR_INVALID_INDEX_SET,
754 ERROR_INVALID_COMPOUND_INDEX_SET, 752 ERROR_INVALID_COMPOUND_INDEX_SET,
755 ERROR_INVALID_INDEX_PREFIX, 753 ERROR_INVALID_INDEX_PREFIX,
756 ERROR_INVALID_INDEX_POSTFIX, 754 ERROR_INVALID_INDEX_POSTFIX,
757 755
758 VISIT_CONSTANT_GET, 756 VISIT_CONSTANT_GET,
759 VISIT_CONSTANT_INVOKE, 757 VISIT_CONSTANT_INVOKE,
760 758
761 PREVISIT_DEFERRED_ACCESS, 759 PREVISIT_DEFERRED_ACCESS,
762 } 760 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/mock_libraries.dart ('k') | tests/compiler/dart2js/semantic_visitor_test_send_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698