-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add basic support for `//> using target.platform jvm|scala-js` in Vulpix. - if the directive is present, filter out files in compilation that dont match the test platform, also add a suffix to the expected check-file name. - duplicate UnrollTestPlatformSpecific files for jvm and scala-js platforms, deleting the reflection code in scala-js version.
- Loading branch information
1 parent
5e285cd
commit 297c88c
Showing
61 changed files
with
244 additions
and
261 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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
//> using options -experimental | ||
// scalajs: --skip | ||
import unroll.* | ||
|
||
@main def Test: Unit = | ||
|
9 changes: 9 additions & 0 deletions
9
tests/run/unroll-caseclass-integration/UnrollTestPlatformSpecificJS_3.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,9 @@ | ||
//> using options -experimental | ||
//> using target.platform scala-js | ||
package unroll | ||
|
||
object UnrollTestPlatformSpecificV3{ | ||
def apply() = { | ||
// do nothing for scala-js | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
tests/run/unroll-caseclass-integration/UnrollTestPlatformSpecific_3.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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.