From c9e31febf811286580792265efe20ccfa76c0fcf Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 31 Mar 2021 23:00:00 -0700 Subject: stage2: finish implementation of LazySrcLoc --- src/AstGen.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/AstGen.zig') 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", .{}); } -- cgit v1.2.3