1
0

Fix type checking with None type

This commit is contained in:
Jeff 2024-02-16 11:36:25 -05:00
parent 1819c7e646
commit 7eecb7b070

View File

@ -81,7 +81,8 @@ impl Type {
| (Type::Number, Type::Float)
| (Type::Integer, Type::Number)
| (Type::Float, Type::Number)
| (Type::String, Type::String) => true,
| (Type::String, Type::String)
| (Type::None, Type::None) => true,
(
Type::Custom {
name: left_name,