diff --git a/js/js.dart-ast/src/com/google/dart/compiler/util/AstUtil.java b/js/js.dart-ast/src/com/google/dart/compiler/util/AstUtil.java index b1e31056eaa..f5935d59343 100644 --- a/js/js.dart-ast/src/com/google/dart/compiler/util/AstUtil.java +++ b/js/js.dart-ast/src/com/google/dart/compiler/util/AstUtil.java @@ -52,12 +52,4 @@ public final class AstUtil { return nodesCopy; } - - @NotNull - public static JsFunctionScope toFunctionScope(JsScope scope) { - assert scope instanceof JsFunctionScope: "JsFunctionScope type is expected, but " - + scope.getClass().getSimpleName() + " is found"; - - return (JsFunctionScope) scope; - } }