Theoretically, tests with good code coverage might help find wrong return types… so like if you have a test for every method… and if/when we again have a working code coverage tool. (See: Code Coverage Shard for Crystal - #7 by drhuffman12)
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Return types of implemented abstract methods are not enforced by compiler, why? | 6 | 377 | July 9, 2019 | |
Can't resolve return type <...> | 2 | 319 | February 8, 2020 | |
Abstract def inside module not being enforced | 2 | 276 | July 26, 2019 | |
Type restrictions and style | 6 | 475 | February 18, 2020 | |
`Enumerable(T).includes?` takes object of any type | 4 | 292 | April 24, 2022 |