Skip to content

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

@mkurz

Description

@mkurz

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.

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