-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #2759: support params like @file.txt for dotc #2765
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Thanks @liufengyun !
Hmm, the legacy CI is not happy:
@smarter @felixmulder @DarkDimius could you please advise? |
This tells me two things:
|
It should indeed compile with check reentrant. Can it be enabled by this PR? |
Opened #2769 to track this. |
@@ -208,7 +208,8 @@ class CompilationTests extends ParallelTesting { | |||
defaultOutputDir + "lib/src/:" + | |||
// as well as bootstrapped compiler: | |||
defaultOutputDir + "dotty1/dotty1/:" + | |||
Jars.dottyInterfaces | |||
Jars.dottyInterfaces, | |||
"-Ycheck-reentrant" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felixmulder could you please check if this is the right place to put the check?
Fix #2759: support params like @file.txt for dotc
The command line parser is migrated from Scalac for handling possible quotes in params.
A test case for this feature is here, it works on Linux/Mac/Windows: lampepfl/packtest#4