mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 18:02:22 -07:00
Commit rest of code for -disallow-rtti
This commit is contained in:
@@ -3031,5 +3031,7 @@ Type *check_type_expr(CheckerContext *ctx, Ast *e, Type *named_type) {
|
||||
}
|
||||
set_base_type(named_type, type);
|
||||
|
||||
check_rtti_type_disallowed(e, type, "Use of a type, %s, which has been disallowed");
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user