We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bafae2 commit 8f67d07Copy full SHA for 8f67d07
compiler/src/dotty/tools/dotc/transform/init/Semantic.scala
@@ -766,7 +766,6 @@ object Semantic {
766
end extension
767
768
extension (ref: Ref)
769
-
770
def accessLocal(tmref: TermRef, klass: ClassSymbol, source: Tree): Contextual[Result] =
771
val sym = tmref.symbol
772
@@ -810,7 +809,10 @@ object Semantic {
810
809
811
case _ => default()
812
}
813
- // ----- Promotion ----------------------------------------------------
+ end extension
+
814
+// ----- Promotion ----------------------------------------------------
815
+ extension (ref: Ref)
816
/** Whether the object is fully assigned
817
*
818
* It means all fields and outers are set. For performance, we don't check
0 commit comments