Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion overviews/macros/implicits.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ which represents isomorphisms between types. `Iso` can be used to map cases clas
tp == (23, "foo", true)

If we try to write an implicit materializer for `Iso`, we will run into a wall.
When typechecking applications of methods like `foo`, scalac has to infer the type argument `L`,
When typechecking applications of methods like `conv`, scalac has to infer the type argument `L`,
which it has no clue about (and that's no wonder, since this is domain-specific knowledge). As a result, when we define an implicit
macro, which synthesizes `Iso[C, L]`, scalac will helpfully infer `L` as `Nothing` before expanding the macro and then everything will crumble.

Expand Down