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 40397a4 commit f35284cCopy full SHA for f35284c
derive/src/compile_bytecode.rs
@@ -185,14 +185,16 @@ impl CompilationSource {
185
Err(e)
186
});
187
188
- if code.is_err() && stem.starts_with("badsyntax_") {
189
- continue;
190
- }
+ let code = match code {
+ Ok(code) => code,
+ Err(_) if stem.starts_with("badsyntax_") => continue,
191
+ Err(e) => return Err(e),
192
+ };
193
194
code_map.insert(
195
module_name,
196
FrozenModule {
- code: code?,
197
+ code,
198
package: is_init,
199
},
200
);
0 commit comments