Skip to content

Commit

Permalink
Adjust captures/lazylist test
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Feb 24, 2025
1 parent c4a1896 commit e25316c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/neg-custom-args/captures/lazylist.check
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
-- [E007] Type Mismatch Error: tests/neg-custom-args/captures/lazylist.scala:41:42 -------------------------------------
41 | val ref4c: LazyList[Int]^{cap1, ref3} = ref4 // error
| ^^^^
| Found: (ref4 : lazylists.LazyList[Int]^{cap3, ref1, ref2})
| Found: (ref4 : lazylists.LazyList[Int]^{cap3, cap2, ref1, cap1})
| Required: lazylists.LazyList[Int]^{cap1, ref3}
|
| longer explanation available when compiling with `-explain`
Expand Down

0 comments on commit e25316c

Please sign in to comment.