We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac2d4f3 commit e2c3b23Copy full SHA for e2c3b23
source/codeRemover.d
@@ -123,6 +123,14 @@ class CodeRemover {
123
FindFunctions(node.nodes);
124
break;
125
}
126
+ case NodeType.TryCatch: {
127
+ auto node = cast(TryCatchNode) inode;
128
+
129
+ usedFunctions ~= node.func;
130
+ FindFunctions(functions[node.func]);
131
+ FindFunctions(node.catchBlock);
132
+ break;
133
+ }
134
default: break;
135
136
source/lexer.d
@@ -229,6 +229,9 @@ class Lexer {
229
230
231
232
+ case '{':
233
+ case '}':
234
+ case ',': break; // ignored characters
235
default: {
236
reading ~= code[i];
237
0 commit comments