Commit 828441d
fix: Backport anvil, fmt and doc fixes to v1.4.2 (#12114)
* fix(anvil): eth_getAccountInfo check if predates fork inclusive (#12101)
* fix(doc): follow tab width fmt config (#12103)
* fix(fmt): account for ternary operators when estimating size (#12104)
* fix(fmt): account for ternary operators when estimating size (#12112)
* fix(fmt): properly handle multiline_func_header = "all" + bump alloy (#12110)
* fix: don't normalize single-line non-doc block cmnts
* fix: preserve consecutive whitespaces
* fix: use byte length instead of char count
* fix(fmt): properly handle multiline_func_header = "all"
* fix: bump alloy
* fix: bump alloy
* chore: bump version to 1.4.2 (#12113)
* fix(fmt): handle trailing coments between base contracts (#12127)
* fix(fmt): account for ternary operators when estimating size
* fix(fmt): handle comments between inherited base contracts
* test: layout + base inheritance
* fix(fmt): filter libs when recursing (#12119)
* fix(fmt): account for ternary operators when estimating size
* fix(fmt): filter libs when recursing
* style: clippy
* test: wipe contracts before formatting
* test: explicitly test ignore
* fix(fmt): break try stmts in a fn header-like fashion (#12131)
* fix(fmt): use nbsp if LHS-most element fits (#12135)
* fix(fmt): use nbsp if LHS-most element fits
* fix(fmt): use nbsp if LHS-most element fits
* reset cache inside helper
* fix(fmt): prioritize parenthesis breaks in emit and revert stmts (#12147)
* fix(fmt): prioritize parenthesis breaks in emit and revert stmts
* fix(fmt): respect bracket spacing when printing commasetp without
delimiters
---------
Co-authored-by: 0xrusowsky <[email protected]>1 parent cf77460 commit 828441d
File tree
38 files changed
+701
-270
lines changed- crates
- anvil
- src/eth
- tests/it
- doc/src
- parser
- fmt
- src/state
- testdata
- ContractDefinition
- EmitStatement
- FunctionDefinition
- IfStatement2
- OperatorExpressions
- ReprosFunctionDefs
- RevertNamedArgsStatement
- TryStatement
- Yul
- tests
- forge
- src/cmd
- tests/cli
38 files changed
+701
-270
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments