-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch pure base classes for FunctionN
- Loading branch information
1 parent
272d53c
commit 8d7a901
Showing
4 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
-- Error: tests/neg-custom-args/captures/leaked-curried.scala:13:20 ---------------------------------------------------- | ||
13 | () => () => io // error | ||
-- Error: tests/neg-custom-args/captures/leaked-curried.scala:14:20 ---------------------------------------------------- | ||
14 | () => () => io // error | ||
| ^^ | ||
|(io : Cap^) cannot be referenced here; it is not included in the allowed capture set {} of pure base class trait Pure | ||
|(io : Cap^) cannot be referenced here; it is not included in the allowed capture set {} of the self type of class Foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters