Skip to content

Commit 2c08c72

Browse files
committed
Merge pull request #1060 from dotty-staging/throwMethodInit
Force the initialization of throwMethod in Definitions
2 parents 12a02c7 + 6560f38 commit 2c08c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ class Definitions {
786786
OpsPackageClass)
787787

788788
/** 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_+)
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)