Assert when encountering a malformed module alias.

This commit is contained in:
Christoffer Lerno
2025-12-29 22:41:42 +01:00
parent c949bd3108
commit e4f1b57bd0
5 changed files with 10 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import std;
struct Foo
{
int a;
int[int.max] b; // #error: "Struct member 'b' would cause the struct to become too large
int[int.max] b; // #error: Struct member 'b' would cause the struct to become too large
}
fn int main()