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

Add a testcase for By-name parameters #485

Merged
merged 2 commits into from
Jan 30, 2022

Conversation

tototoshi
Copy link
Member

Twirl is implemented taking into account the By-Name parameter of the template argument.

case ByNameParam(_, paramType) => " => " + paramType

However, there is no test case for it.
I would like to add a test case to make it safer to support cross-building with Scala3.

Twirl is implemented taking into account the By-Name parameter of the template argument.
https://github.com/playframework/twirl/blob/a6c8e45a797ef85847fbd94274023ff023682152/compiler/src/main/scala/play/twirl/compiler/TwirlCompiler.scala#L549

However, there is no test case for it.
I would like to add a test case to make it safer to support cross-building with Scala3.
@mkurz
Copy link
Member

mkurz commented Jan 30, 2022

Tests fail

@mergify mergify bot merged commit 91d7d6a into playframework:main Jan 30, 2022
@ihostage ihostage added this to the 1.6.0 milestone Apr 14, 2022
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