-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Labels
formatterClarity formatter enhancementsClarity formatter enhancements
Description
Describe the bug
It's not supposed to update comments.
To Reproduce
;; /g/'STV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RJ5XDY2.sbtc-token/base_contract_sbtc
(try! (contract-call? 'STV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RJ5XDY2.sbtc-token
;; /g/.aibtc-pre-faktory/dao_contract_token_prelaunch
transfer pre-fee tx-sender .aibtc-pre-faktory none
))After save:
;; /g/'STV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RJ5XDY2.sbtc-token/base_contract_sbtc
(try! (contract-call? 'STV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RJ5XDY2.sbtc-token
;; /g/.aibtc-pre-faktory/dao_contract_token_prelaunch transfer pre-fee
tx-sender .aibtc-pre-faktory none
))Which results in a few params getting commented out as indicated by the big red squigglies:
contract 'STV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RJ5XDY2.sbtc-token' has no public function 'tx-sender 'clarity`
or through clarinet check
error: contract 'STV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RJ5XDY2.sbtc-token' has no public function 'tx-sender'
--> contracts/dao/token/aibtc-faktory-dex.clar:70:13
(try! (contract-call? 'STV9K21TBFAK4KNRJXF5DFP8N7W46G4V9RJ5XDY2.sbtc-token
^
Expected behavior
Leave the comments as they represent template values replaced in the next line.
Environment (please complete the following information):
- clarinet 3.1.0
Additional context
Will try upgrading to latest locally but suspect it's an edge case given it's worked really well everywhere else I had the comments.
Metadata
Metadata
Assignees
Labels
formatterClarity formatter enhancementsClarity formatter enhancements