Improve error message when using ',' in struct declarations. #1920

This commit is contained in:
Christoffer Lerno
2025-02-02 22:44:22 +01:00
parent 50c590bb5f
commit f2df4855ff
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import std::io;
struct Test
{
int a, // #error: Did you accidentally use ','
int b,
}