Skip to content

Commit 0d24df6

Browse files
committed
Force the initialization of throwMethod in Definitions
1 parent 9d8c92d commit 0d24df6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dotty/tools/dotc/core/Definitions.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,8 @@ class Definitions {
785785
EmptyPackageVal,
786786
OpsPackageClass)
787787

788-
/** Lists core methods that don't have underlying bytecode, but are synthesized on-the-fly in every reflection universe */
789-
lazy val syntheticCoreMethods = AnyMethods ++ ObjectMethods ++ List(String_+)
788+
/** Lists core methods that don't have underlying bytecode, but are synthesized on-the-fly in every reflection universe */
789+
lazy val syntheticCoreMethods = AnyMethods ++ ObjectMethods ++ List(String_+, throwMethod)
790790

791791
private[this] var _isInitialized = false
792792
private def isInitialized = _isInitialized

0 commit comments

Comments
 (0)