File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ def parse_args():
23
23
A drop-in replacement for a 'swift-refactor -dump-text' call that
24
24
1. Checks that the file still compiles after the refactoring by doing
25
25
'swift-refactor -dump-rewritten' and feeding the result to
26
- 'swift-frontend -typecheck'
26
+ 'swift-frontend -typecheck -disable-availability-checking
27
+ -warn-on-editor-placeholder'
27
28
2. Outputting the result of the 'swift-refactor -dump-text' call
28
29
29
30
All arguments other than the following will be forwarded to
@@ -98,7 +99,8 @@ def main():
98
99
args .swift_frontend ,
99
100
'-typecheck' ,
100
101
temp_file_path ,
101
- '-disable-availability-checking'
102
+ '-disable-availability-checking' ,
103
+ '-warn-on-editor-placeholder'
102
104
] + extra_frontend_args , desc = 'checking that rewritten file compiles' )
103
105
104
106
You can’t perform that action at this time.
0 commit comments