File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
compiler/src/dotty/tools/dotc/reporting Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1254,7 +1254,8 @@ import transform.SymUtils._
1254
1254
|
1255
1255
|I found: $tree
1256
1256
|But the part corresponding to `<skolem>` is not a reference that can be generated.
1257
- |This might be because resolution yielded as given instance a function that is not known to be pure. """
1257
+ |This might be because resolution yielded as given instance a function that is not
1258
+ |known to be total and side-effect free. """
1258
1259
def explain =
1259
1260
em """ The part of given resolution that corresponds to `<skolem>` produced a term that
1260
1261
|is not a stable reference. Therefore a given instance could not be generated.
Original file line number Diff line number Diff line change 5
5
|
6
6
| I found: <skolem>.tasty.pos(unseal(given_QC[Any]))
7
7
| But the part corresponding to `<skolem>` is not a reference that can be generated.
8
- | This might be because resolution yielded as given instance a function that is not known to be pure.
8
+ | This might be because resolution yielded as given instance a function that is not
9
+ | known to be total and side-effect free.
9
10
10
11
longer explanation available when compiling with `-explain`
You can’t perform that action at this time.
0 commit comments