Open anlunx opened 4 years ago
When two functions declaration types are compared for subtyping, their effect sets are not compared. For example, def foo() : {system.FFI} Unit should not be a subtype def foo() : {} Unit but the compiler doesn't compare their effect sets.
def foo() : {system.FFI} Unit
def foo() : {} Unit
When two functions declaration types are compared for subtyping, their effect sets are not compared. For example,
def foo() : {system.FFI} Unit
should not be a subtypedef foo() : {} Unit
but the compiler doesn't compare their effect sets.