Open krzkaczor opened 10 years ago
All return statement expressions types should be eq/subtype to declared one
Test: func function () -> Int { if 1 == 2 { return 1; } return 5; }
All return statement expressions types should be eq/subtype to declared one