Skip to content

Commit

Permalink
Simplify exercise snippet (digital-asset#6232)
Browse files Browse the repository at this point in the history
This is just not general enough to be useful. In particular, it
completely falls apart for somethin like submit x (exercise …) in
scenarios.

changelog_begin
changelog_end
  • Loading branch information
cocreature authored Jun 4, 2020
1 parent e23a488 commit 884d4d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/daml-extension/snippets/daml.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@
"exercise": {
"prefix": "exercise",
"body": [
"${1:contractId} <- exercise ${2:contractId} ${3:Transfer} with ${4:newOwner} = ${5:value}",
"$6"
"exercise ${1:contractId} ${2:Transfer}"
]
},
"let": {
Expand Down

0 comments on commit 884d4d8

Please sign in to comment.