-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The simpleHello rule in helloDSL grammar accepts hello with no parameters.
The HelloDSLSemantics semantics file, however, uses the pattern (SimpleHello name),
raising an error The constructor ‘SimpleHello’ should have no arguments, but has been given 1.
Changing (SimpleHello name) to (SimpleHello) solves the problem, with either
runHelloDSL $ begin |> hello |> name "ymzk" |> end or runHelloDSL $ begin |> hello |> end.
Metadata
Metadata
Assignees
Labels
No labels