Parse error on input
- Neelam_DwivediOP 1
This is a bare bones template code, but not compiling due to error in line: template aTemplate
module Test where
template aTemplate
with
owner: Party
where
signatory ownerI tried changing its name, putting it in a different module, … but the error shows at the same exact place. Any suggestions on what could be wrong here?
- Ben_M
Please refer to Daml Templates
Your template name must start with a Capital Letter, so your name of
aTemplateneeds to beAtemplate.- This is the name of the template. It’s preceded by
templatekeyword. Must begin with a capital letter. - This is the highest level of nesting.
- The name is used when creating a contract of this template (usually, from within a choice).
Hope this helps.
- This is the name of the template. It’s preceded by
- Neelam_Dwivedi 1
Thanks @Ben_M !! I knew I was doing something dumb! I will remember that one now

- Ben_M
Happy to help.
If my answer has Solved your initial query, please mark it as a Solution, see screenshot below.
