- Attrdef eval environment lacked rtype, causing error on invalid args #2797

This commit is contained in:
Christoffer Lerno
2026-01-22 19:47:37 +01:00
parent e257500e03
commit 32675161c4
3 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
attrdef @Aa(x) = @tag("", @pool() { return; }); // #error: Expected a constant value here, usage is: '@tag(name, value)'
fn void a() @Aa({})
{}