-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
on version mismatch, protect PC dynamic loading behind a flag
- Loading branch information
Showing
7 changed files
with
95 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...st/explicitResultTypesRunAcrossMinors/FetchScala3CompilerArtifactsOnVersionMismatch.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
rules = ExplicitResultTypes | ||
ExplicitResultTypes.skipSimpleDefinitions = true | ||
ExplicitResultTypes.fetchScala3CompilerArtifactsOnVersionMismatch = true | ||
// RuleSuite.scala does run this test for expect3_xTarget3_y with x != y | ||
// because it is in a different folder than "explicitResultTypes" - the suffix | ||
// matters. Take that into account if you move this file. | ||
*/ | ||
package test.explicitResultTypesRunAcrossMinors | ||
|
||
object FetchScala3CompilerArtifactsOnVersionMismatch { | ||
def foo = 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...st/explicitResultTypesRunAcrossMinors/FetchScala3CompilerArtifactsOnVersionMismatch.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package test.explicitResultTypesRunAcrossMinors | ||
|
||
object FetchScala3CompilerArtifactsOnVersionMismatch { | ||
def foo: Int = 1 | ||
} |