You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ruby/extractor/src/extractor.rs
+25-16Lines changed: 25 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -277,7 +277,7 @@ impl<'a> Visitor<'a> {
277
277
fnrecord_parse_error_for_node(
278
278
&mutself,
279
279
message:&str,
280
-
args:&[&str],
280
+
args:&[diagnostics::MessageArg],
281
281
node:Node,
282
282
status_page:bool,
283
283
){
@@ -306,17 +306,17 @@ impl<'a> Visitor<'a> {
306
306
fnenter_node(&mutself,node:Node) -> bool{
307
307
if node.is_missing(){
308
308
self.record_parse_error_for_node(
309
-
"A parse error occurred (expected {} symbol). Check the syntax of the file using the {} command. If the file is invalid, correct the error or exclude the file from analysis.",
310
-
&[node.kind(),"ruby -c"],
309
+
"A parse error occurred (expected {} symbol). Check the syntax of the file. If the file is invalid, correct the error or {} the file from analysis.",
"A parse error occurred. Check the syntax of the file using the {} command. If the file is invalid, correct the error or exclude the file from analysis.",
319
-
&["ruby -c"],
318
+
"A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or {} the file from analysis.",
| src/not_ruby.rb:5:25:5:26 | A parse error occurred. Check the syntax of the file using the ruby -c command. If the file is invalid, correct the error or exclude the file from analysis. | Extraction failed in src/not_ruby.rb with error A parse error occurred. Check the syntax of the file using the ruby -c command. If the file is invalid, correct the error or exclude the file from analysis. | 2 |
1
+
| src/not_ruby.rb:5:25:5:26 | A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis. | Extraction failed in src/not_ruby.rb with error A parse error occurred. Check the syntax of the file. If the file is invalid, correct the error or exclude the file from analysis. | 2 |
0 commit comments