Skip to content

Commit 7b20b3c

Browse files
committed
[ #431 ] Eta-expand definition of rTail in EraseType.agda test case
1 parent 086bb62 commit 7b20b3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/EraseType.agda

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ testCong = singCong (1 +_) testSingleton
2929
{-# COMPILE AGDA2HS testCong #-}
3030

3131
rTail : {@0 x xs} Singleton {a = List Int} (x ∷ xs) Singleton xs
32-
rTail = singTail
32+
rTail ys = singTail ys
3333

3434
{-# COMPILE AGDA2HS rTail #-}

test/golden/EraseType.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ testCong :: Int
1616
testCong = 1 + testSingleton
1717

1818
rTail :: [Int] -> [Int]
19-
rTail = \ ys -> tail ys
19+
rTail ys = tail ys
2020

0 commit comments

Comments
 (0)