Skip to content
Snippets Groups Projects

Uniqueness of Data Type Instances

Closed Frederik Hennig requested to merge fhennig/unique-types into backend-rework
Viewing commit e9ff21a3
Show latest version
3 files
+ 5
12
Preferences
Compare changes
Files
3
  • e9ff21a3
    Hot fixes: · e9ff21a3
    Frederik Hennig authored
     - Fix typification of array initializers
     - Fix constant folder to correctly handle non-numeric types
     - Fix CFunction inheritance
@@ -494,6 +494,7 @@ class Typifier:
)
else:
items_tc.apply_dtype(tc.target_type.base_type)
tc.infer_dtype(expr)
else:
arr_type = PsArrayType(items_tc.target_type, len(items))
tc.apply_dtype(arr_type, expr)