File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ object PrepareInlineable {
224224 finally
225225 if ctx.reporter.errorCount != initialErrorCount then
226226 sym.resetFlag(Inline )
227+ sym.resetFlag(Transparent )
227228 sym.removeAnnotation(defn.BodyAnnot )
228229
229230 /** Register inline info for given inlineable method `sym`.
Original file line number Diff line number Diff line change 1+ -- [E006] Not Found Error: tests/neg/i11437.scala:1:29 -----------------------------------------------------------------
2+ 1 |transparent inline def foo = error // error
3+ | ^^^^^
4+ | Not found: error
5+
6+ longer explanation available when compiling with `-explain`
Original file line number Diff line number Diff line change 1+ transparent inline def foo = error // error
You can’t perform that action at this time.
0 commit comments