diff options
| author | gingerBill <bill@gingerbill.org> | 2022-11-08 11:13:46 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-11-08 11:13:46 +0000 |
| commit | 810a1eee41cc8e047759c8934af70d6e68113082 (patch) | |
| tree | e24c9cd4ae4e63997ae5ffd636b55d923adc2e8e /src/check_expr.cpp | |
| parent | e3e225d21b613d789ebad0273b198b5509800bf0 (diff) | |
Remove the need for `type->Map.internal_type` and replace with the definition of `runtime.Raw_Map`
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 043b98173..c2753e979 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -1364,7 +1364,6 @@ bool is_polymorphic_type_assignable(CheckerContext *c, Type *poly, Type *source, bool key = is_polymorphic_type_assignable(c, poly->Map.key, source->Map.key, true, modify_type); bool value = is_polymorphic_type_assignable(c, poly->Map.value, source->Map.value, true, modify_type); if (key || value) { - poly->Map.internal_type = nullptr; poly->Map.lookup_result_type = nullptr; init_map_internal_types(poly); return true; |