-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e807bf4
commit f00e2eb
Showing
2 changed files
with
28 additions
and
2 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
14 changes: 14 additions & 0 deletions
14
scala-js-1.10+/src/org/scalajs/cli/internal/ModuleSplitStyleParserSubst.java
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,14 @@ | ||
package org.scalajs.cli.internal; | ||
|
||
import com.oracle.svm.core.annotate.Substitute; | ||
import com.oracle.svm.core.annotate.TargetClass; | ||
|
||
@TargetClass(className = "org.scalajs.cli.internal.ModuleSplitStyleParser") | ||
final class ModuleSplitStyleParserSubst { | ||
|
||
@Substitute | ||
ModuleSplitStyle parse(String splitStyle, String[] modulePackages) { | ||
ModuleSplitStyleParser110Plus parser = new ModuleSplitStyleParser110Plus(); | ||
return parser.parse(splitStyle, modulePackages); | ||
} | ||
} |