MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / accept

Function accept

tests/integration/compiler_undefined_var.rs:23–28  ·  view source on GitHub ↗
(src: &str)

Source from the content-addressed store, hash-verified

21 let mut p = CompilationPipeline::new();
22 p.set_write_artifacts(false);
23 p.compile(src)
24 .unwrap_or_else(|e| panic!("expected compile to succeed, got: {e}"));
25}
26
27// --- Undefined local variables ---
28
29#[test]
30fn undefined_local_on_rhs_is_rejected() {
31 reject(

Calls 2

set_write_artifactsMethod · 0.80
compileMethod · 0.45