Index: pkg/compiler/lib/src/universe/resolution_world_builder.dart |
diff --git a/pkg/compiler/lib/src/universe/resolution_world_builder.dart b/pkg/compiler/lib/src/universe/resolution_world_builder.dart |
index 86e9b093894cb508b6a0b6b5e7ae6efceed3795e..648478d0440f0bb8a78bae6f22f310effc28ac41 100644 |
--- a/pkg/compiler/lib/src/universe/resolution_world_builder.dart |
+++ b/pkg/compiler/lib/src/universe/resolution_world_builder.dart |
@@ -665,6 +665,9 @@ class ElementResolutionWorldBuilder implements ResolutionEnqueuerWorldBuilder { |
invariant( |
element, 'Direct static use is not supported for resolution.'); |
break; |
+ case StaticUseKind.INLINING: |
+ throw new SpannableAssertionFailure(CURRENT_ELEMENT_SPANNABLE, |
+ "Static use ${staticUse.kind} is not supported during resolution."); |
} |
if (useSet.isNotEmpty) { |
memberUsed(usage.entity, useSet); |