Enum fixes

This commit is contained in:
Christoffer Lerno
2020-04-05 11:31:05 +02:00
parent 336e6cf47d
commit 60c60a3205
15 changed files with 160 additions and 78 deletions

View File

@@ -0,0 +1,24 @@
enum EnumWithErrorWithMissingName : int (int)
// @error The function parameter must be named
{
TEST
}
enum EnumWithErrorData : int (int
// @error Unexpected end of parameter list
{
TEST
}
enum EnumTestOverflow
{
VALUE = 0x80000000,
// @error does not fit into 'int'
}
enum EnumTestErrorType : float
// @error The enum type must be an integer type not 'float'
{
VALUE_BOOM
}