We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1f4a3a commit 5f6ba16Copy full SHA for 5f6ba16
1 file changed
src/slang-nodes/YulFunctionDefinition.ts
@@ -50,7 +50,7 @@ export class YulFunctionDefinition implements SlangNode {
50
'function ',
51
path.call(print, 'name'),
52
path.call(print, 'parameters'),
53
- path.call(print, 'returns') || ' ',
+ this.returns ? path.call(print, 'returns') : ' ',
54
path.call(print, 'body')
55
];
56
}
0 commit comments