Repository navigation
Conversation
7ed1bde to
2d0a857
Compare
2d0a857 to
caf970f
Compare
caf970f to
267753c
Compare
|
I'm ambivalent here. The explicit types record the intent of the code, which if it ever differs from the types of the callee, is an interesting situation. |
|
I made the general change because these kind of type annotations can cause errors, specifically for #1672, these cases:
|
|
Fwiw nowadays I always reject code that does not specify the cast target or uses (IOW this PR seems like a net negative, the Hermit issue should be solved with a type alias) |
267753c to
d6f209f
Compare
d6f209f to
4d3a816
Compare
Remove unnecessary type annotations from
.cast()calls and let type inference do its thing.