mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-25 05:09:53 +00:00
Merge pull request #6601 from FourteenBrush/master
Make @(rodata) on constants yield 'not supported' message (Fixes #5422)
This commit is contained in:
@@ -4229,6 +4229,7 @@ gb_internal DECL_ATTRIBUTE_PROC(const_decl_attribute) {
|
||||
name == "link_name" ||
|
||||
name == "link_prefix" ||
|
||||
name == "link_suffix" ||
|
||||
name == "rodata" ||
|
||||
false) {
|
||||
error(elem, "@(%.*s) is not supported for compile time constant value declarations", LIT(name));
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user