Skip to content

Commit e464218

Browse files
committed
tabs to space
1 parent 3c9522d commit e464218

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/compiler/irpasses.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,17 +1424,17 @@ end
14241424

14251425
# Test SROA of union into getfield
14261426
struct SingleFieldStruct1
1427-
x::Int
1427+
x::Int
14281428
end
14291429
struct SingleFieldStruct2
1430-
x::Int
1430+
x::Int
14311431
end
14321432
function foo(b, x)
1433-
if b
1434-
f = SingleFieldStruct1(x)
1435-
else
1436-
f = SingleFieldStruct2(x)
1437-
end
1438-
getfield(f, :x) + 1
1433+
if b
1434+
f = SingleFieldStruct1(x)
1435+
else
1436+
f = SingleFieldStruct2(x)
1437+
end
1438+
getfield(f, :x) + 1
14391439
end
14401440
@test foo(true, 1) == 2

0 commit comments

Comments
 (0)