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 d0e8313 commit a4065c4Copy full SHA for a4065c4
py/dead_dml_methods.py
@@ -113,6 +113,10 @@ def traverse_ast(ast):
113
def method_locations(path):
114
from dml.toplevel import parse_file, determine_version
115
from dml import logging, messages
116
+ import dml.globals
117
+ from dml import compat
118
+ # needed to parse 1.2/utility.dml
119
+ dml.globals.enabled_compat.add(compat.warning_statement)
120
for warning in messages.warnings:
121
logging.ignore_warning(warning)
122
0 commit comments