Skip to content

Ambiguity: function definition with when and brackets around condition #2705

@toinehartman

Description

@toinehartman

Describe the bug

The following Rascal definition is ambiguous:

list[int] a(int i) = [i] when (p.def is \lex);

Desktop (please complete the following information):

  • Context: Eclipse plugin, Commandline REPL
  • Rascal Version: 0.42.0

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions