mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Rust: Comment out tests with parse errors
This commit is contained in:
@@ -25,12 +25,8 @@ conditionalExprs
|
||||
| conditionals.rb:73:1:75:3 | if ... | IfExpr | conditionals.rb:73:4:73:9 | ... && ... | conditionals.rb:73:11:74:5 | then ... | true |
|
||||
| conditionals.rb:78:1:82:3 | if ... | IfExpr | conditionals.rb:78:4:79:8 | ... && ... | conditionals.rb:79:9:81:5 | then ... | true |
|
||||
| conditionals.rb:86:1:90:3 | if ... | IfExpr | conditionals.rb:86:4:86:4 | a | conditionals.rb:86:5:89:5 | then ... | true |
|
||||
| conditionals.rb:94:1:98:3 | if ... | IfExpr | conditionals.rb:94:4:94:4 | a | conditionals.rb:94:5:97:5 | then ... | true |
|
||||
| conditionals.rb:102:1:106:3 | if ... | IfExpr | conditionals.rb:102:4:102:4 | a | conditionals.rb:102:5:105:5 | then ... | true |
|
||||
| conditionals.rb:109:1:114:3 | if ... | IfExpr | conditionals.rb:109:4:111:8 | ... && ... | conditionals.rb:111:9:113:5 | then ... | true |
|
||||
| conditionals.rb:118:1:123:3 | if ... | IfExpr | conditionals.rb:118:4:119:6 | ... && ... | conditionals.rb:119:7:122:5 | then ... | true |
|
||||
| conditionals.rb:127:1:132:3 | if ... | IfExpr | conditionals.rb:127:4:129:7 | ... && ... | conditionals.rb:129:8:131:5 | then ... | true |
|
||||
| conditionals.rb:136:1:141:3 | if ... | IfExpr | conditionals.rb:136:4:136:4 | a | conditionals.rb:136:5:140:5 | then ... | true |
|
||||
| conditionals.rb:144:1:148:3 | if ... | IfExpr | conditionals.rb:144:4:145:5 | ... && ... | conditionals.rb:145:6:147:5 | then ... | true |
|
||||
| loops.rb:9:5:9:5 | if ... | IfExpr | loops.rb:9:5:9:5 | ! ... | loops.rb:9:5:9:5 | ... = ... | true |
|
||||
| loops.rb:16:5:16:5 | if ... | IfExpr | loops.rb:16:5:16:5 | ! ... | loops.rb:16:5:16:5 | ... = ... | true |
|
||||
@@ -51,12 +47,8 @@ ifExprs
|
||||
| conditionals.rb:73:1:75:3 | if ... | IfExpr | conditionals.rb:73:4:73:9 | ... && ... | conditionals.rb:73:11:74:5 | then ... | (none) | false |
|
||||
| conditionals.rb:78:1:82:3 | if ... | IfExpr | conditionals.rb:78:4:79:8 | ... && ... | conditionals.rb:79:9:81:5 | then ... | (none) | false |
|
||||
| conditionals.rb:86:1:90:3 | if ... | IfExpr | conditionals.rb:86:4:86:4 | a | conditionals.rb:86:5:89:5 | then ... | (none) | false |
|
||||
| conditionals.rb:94:1:98:3 | if ... | IfExpr | conditionals.rb:94:4:94:4 | a | conditionals.rb:94:5:97:5 | then ... | (none) | false |
|
||||
| conditionals.rb:102:1:106:3 | if ... | IfExpr | conditionals.rb:102:4:102:4 | a | conditionals.rb:102:5:105:5 | then ... | (none) | false |
|
||||
| conditionals.rb:109:1:114:3 | if ... | IfExpr | conditionals.rb:109:4:111:8 | ... && ... | conditionals.rb:111:9:113:5 | then ... | (none) | false |
|
||||
| conditionals.rb:118:1:123:3 | if ... | IfExpr | conditionals.rb:118:4:119:6 | ... && ... | conditionals.rb:119:7:122:5 | then ... | (none) | false |
|
||||
| conditionals.rb:127:1:132:3 | if ... | IfExpr | conditionals.rb:127:4:129:7 | ... && ... | conditionals.rb:129:8:131:5 | then ... | (none) | false |
|
||||
| conditionals.rb:136:1:141:3 | if ... | IfExpr | conditionals.rb:136:4:136:4 | a | conditionals.rb:136:5:140:5 | then ... | (none) | false |
|
||||
| conditionals.rb:144:1:148:3 | if ... | IfExpr | conditionals.rb:144:4:145:5 | ... && ... | conditionals.rb:145:6:147:5 | then ... | (none) | false |
|
||||
unlessExprs
|
||||
| conditionals.rb:40:1:42:3 | unless ... | UnlessExpr | conditionals.rb:40:8:40:12 | ... > ... | conditionals.rb:40:14:41:5 | then ... | (none) |
|
||||
|
||||
@@ -31,12 +31,8 @@
|
||||
| conditionals.rb:73:1:75:3 | if ... | IfExpr |
|
||||
| conditionals.rb:78:1:82:3 | if ... | IfExpr |
|
||||
| conditionals.rb:86:1:90:3 | if ... | IfExpr |
|
||||
| conditionals.rb:94:1:98:3 | if ... | IfExpr |
|
||||
| conditionals.rb:102:1:106:3 | if ... | IfExpr |
|
||||
| conditionals.rb:109:1:114:3 | if ... | IfExpr |
|
||||
| conditionals.rb:118:1:123:3 | if ... | IfExpr |
|
||||
| conditionals.rb:127:1:132:3 | if ... | IfExpr |
|
||||
| conditionals.rb:136:1:141:3 | if ... | IfExpr |
|
||||
| conditionals.rb:144:1:148:3 | if ... | IfExpr |
|
||||
| loops.rb:9:1:12:3 | for ... in ... | ForExpr |
|
||||
| loops.rb:9:5:9:5 | if ... | IfExpr |
|
||||
|
||||
@@ -91,11 +91,11 @@ end
|
||||
|
||||
# If expr with `||` at the start of a separate line before then
|
||||
# NOTE: This is not parsed correctly due to the leading `||`
|
||||
if a
|
||||
|| b
|
||||
then
|
||||
c
|
||||
end
|
||||
# if a
|
||||
# || b
|
||||
# then
|
||||
# c
|
||||
# end
|
||||
|
||||
# If expr with `or` at the start of a separate line before then
|
||||
# NOTE: This is not parsed correctly, `or b` is parsed as a call
|
||||
@@ -115,30 +115,30 @@ end
|
||||
|
||||
# If expr with alternating && and || at the start of lines
|
||||
# NOTE: This is not parsed correctly due to the leading `||`
|
||||
if a
|
||||
&& b
|
||||
|| c
|
||||
then
|
||||
d
|
||||
end
|
||||
# if a
|
||||
# && b
|
||||
# || c
|
||||
# then
|
||||
# d
|
||||
# end
|
||||
|
||||
# If expr with operator at start of line and parentheses
|
||||
# NOTE: This is not parsed correctly due to the leading `||`
|
||||
if a
|
||||
&& (b
|
||||
|| c)
|
||||
then
|
||||
d
|
||||
end
|
||||
# if a
|
||||
# && (b
|
||||
# || c)
|
||||
# then
|
||||
# d
|
||||
# end
|
||||
|
||||
# If expr with operator at start of line and parentheses
|
||||
# NOTE: This is not parsed correctly due to the leading `||`
|
||||
if a
|
||||
|| (b
|
||||
&& c)
|
||||
then
|
||||
d
|
||||
end
|
||||
# if a
|
||||
# || (b
|
||||
# && c)
|
||||
# then
|
||||
# d
|
||||
# end
|
||||
|
||||
# If expr with && at end of line
|
||||
if a &&
|
||||
|
||||
Reference in New Issue
Block a user