Skip to content

Navigation Menu

Sign in
Sign up

Disallow block args in if/else if/else expressin #1094

Open

Description

Not urgent, but currently you can write things like:

@if(true) { (something: SomeType) =>
 foo
}

I don't think that makes sense in twirl (?).

Also check other statements where we should disallow that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /