-
Notifications
You must be signed in to change notification settings - Fork 238
Open
Labels
developer-experienceImprovements to the developer experience for the Daml language and its toolingImprovements to the developer experience for the Daml language and its toolinglanguage/error-message-improvementImprovement to error messages (from issue template)Improvement to error messages (from issue template)
Description
Describe the error message
daml/Rent.daml:20:3: error: parse error on input 'choice'
To reproduce
Forget to indent choice, e.g.:
template RentProposal
with
landlord : Party
tenant : Party
...
where
signatory landlord
observer tenant
choice RentProposal_Accept : ContractId Rent
controller tenant
do
create Rent with
landlord
tenant
What do you think is bad about the error message?
It's insufficient, it should point me to the fact that I got the indentation wrong if possible.
Metadata
Metadata
Assignees
Labels
developer-experienceImprovements to the developer experience for the Daml language and its toolingImprovements to the developer experience for the Daml language and its toolinglanguage/error-message-improvementImprovement to error messages (from issue template)Improvement to error messages (from issue template)