Skip to content

Commit d59af76

Browse files
committed
Fix compile_bytecode
1 parent 2fafd40 commit d59af76

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

derive/src/compile_bytecode.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,13 @@ impl CompilationSource {
191191

192192
let code = match code {
193193
Ok(code) => code,
194-
Err(_) if stem.starts_with("badsyntax_") => continue,
194+
Err(_)
195+
if stem.starts_with("badsyntax_")
196+
| parent.ends_with(".encoded_modules") =>
197+
{
198+
// TODO: handle with macro arg rather than hard-coded path
199+
continue;
200+
}
195201
Err(e) => return Err(e),
196202
};
197203

0 commit comments

Comments
 (0)