Skip to content
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 type mismatch between Unit and TokenType #276

Merged
merged 1 commit into from
Mar 29, 2019

Conversation

Philippus
Copy link
Contributor

This was uncovered in the community build for scala 2.13.0-RC1, see scala/bug#11453

@godenji godenji merged commit ca4a577 into scala-ide:master Mar 29, 2019
@Philippus Philippus deleted the patch-1 branch March 29, 2019 09:04
@@ -10,7 +10,7 @@ class ScalaLexerTest extends FlatSpec with Matchers {
scalaVersion: ScalaVersion = ScalaVersions.DEFAULT): TestString =
new TestString(s, forgiveErrors, scalaVersion)

"" producesTokens ()
"" producesTokens (List.empty[TokenType]: _*)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an alternative would be to avoid infix syntax and just write "".producesTokens()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't look so nice with the rest of the file. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants