Skip to content

Commit 9a6fdea

Browse files
committed
solidity-parse's stack assignment now matches slang's
1 parent c892248 commit 9a6fdea

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
import { doc } from 'prettier';
2+
3+
const { hardline } = doc.builders;
4+
15
export const AssemblyStackAssignment = {
26
print: ({ node, path, print }) => [
37
path.call(print, 'expression'),
4-
' =: ',
8+
hardline,
9+
'=: ',
510
node.name
611
]
712
};

0 commit comments

Comments
 (0)