Open Braqzen opened 1 year ago
Version 0.44.0
0.44.0
script; use std::{constants::ZERO_B256, vm::evm::evm_address::EvmAddress}; configurable { // SIGNER: EvmAddress = EvmAddress::from(ZERO_B256), SIGNER: EvmAddress = EvmAddress { value: ZERO_B256, }, } fn main() {}
Run forc fmt and the commented out SINGER will be removed.
forc fmt
SINGER
Note: If you change the comment // into a doc comment /// then the doc comment will not be removed.
//
///
Unsure if bug or some new design decision has taken place that I am unaware of.
Is there any word on what the desired behavior of this is?
Formatting should not remove comments. Unsure if this is still an issue in the latest releases.
Version
0.44.0
Run
forc fmt
and the commented outSINGER
will be removed.Note: If you change the comment
//
into a doc comment///
then the doc comment will not be removed.Unsure if bug or some new design decision has taken place that I am unaware of.