diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-03-31 23:00:00 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-03-31 23:00:00 -0700 |
| commit | c9e31febf811286580792265efe20ccfa76c0fcf (patch) | |
| tree | 23204dcead9078d0c97df6de753beec39cdbea91 /src/AstGen.zig | |
| parent | b27d0526768a5be715eeb9381a61d335e9a05e9e (diff) | |
| download | zig-c9e31febf811286580792265efe20ccfa76c0fcf.tar.gz zig-c9e31febf811286580792265efe20ccfa76c0fcf.zip | |
stage2: finish implementation of LazySrcLoc
Diffstat (limited to 'src/AstGen.zig')
| -rw-r--r-- | src/AstGen.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/AstGen.zig b/src/AstGen.zig index e1faa8ad90..2c3c1871ac 100644 --- a/src/AstGen.zig +++ b/src/AstGen.zig @@ -3476,6 +3476,8 @@ fn asmExpr( const asm_source = try expr(gz, scope, .{ .ty = .const_slice_u8_type }, full.ast.template); if (full.outputs.len != 0) { + // when implementing this be sure to add test coverage for the asm return type + // not resolving into a type (the node_offset_asm_ret_ty field of LazySrcLoc) return mod.failTok(scope, full.ast.asm_token, "TODO implement asm with an output", .{}); } |
