feat: materialize tagged-union and fallible constants
This commit is contained in:
@@ -532,7 +532,7 @@ resolve_expr proc(
|
||||
try resolve_expr(state, scope, value.type)
|
||||
try resolve_expr(state, scope, value.value)
|
||||
}
|
||||
.literal_int, .literal_float, .literal_bool, .literal_string, .literal_null: {}
|
||||
.literal_int, .literal_float, .literal_bool, .literal_string, .literal_null, .literal_void: {}
|
||||
.enum_literal: {}
|
||||
.distinct_type, .alias_expr, .optional_type, .try_expr: try resolve_expr(state, scope, ast.type_operand(tree, id))
|
||||
.enum_type: {
|
||||
|
||||
Reference in New Issue
Block a user