We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bafcd6e commit 72156e4Copy full SHA for 72156e4
py/dead_dml_methods.py
@@ -112,6 +112,10 @@ def traverse_ast(ast):
112
def method_locations(path):
113
from dml.toplevel import parse_file, determine_version
114
from dml import logging, messages
115
+ import dml.globals
116
+ from dml import compat
117
+ # needed to parse 1.2/utility.dml
118
+ dml.globals.enabled_compat.add(compat.warning_statement)
119
for warning in messages.warnings:
120
logging.ignore_warning(warning)
121
0 commit comments