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

Unified Diff: sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart

Issue 23904023: Revert r27592, some unit tests fail. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart (revision 27592)
+++ sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart (working copy)
@@ -1666,7 +1666,7 @@
ConcreteTypesInferrer inferrer, this.environment)
: this.inferrer = inferrer
, this.backend = inferrer.compiler.backend
- , super(elements, inferrer.compiler) {
+ , super(elements) {
for (Element element in elements.otherDependencies) {
if (element.isClass()) {
inferrer.augmentSeenClasses(inferrer.normalize(element));
@@ -2378,14 +2378,6 @@
return inferrer.unknownConcreteType;
}
- ConcreteType visitAssert(Send node) {
- if (!compiler.enableUserAssertions) {
- return inferrer.nullConcreteType;
- } else {
- return visitStaticSend(node);
- }
- }
-
ConcreteType visitStaticSend(Send node) {
if (elements.getSelector(node).name == const SourceString('JS')) {
return inferrer.getNativeCallReturnType(node);

Powered by Google App Engine
This is Rietveld 408576698