From: Jean Privat Date: Wed, 8 Apr 2015 01:01:15 +0000 (+0700) Subject: Merge: Improve checking of virtual types X-Git-Tag: v0.7.4~38 X-Git-Url: http://nitlanguage.org?hp=5934106e28389277fd55966cfd6064fd5ec0eebc Merge: Improve checking of virtual types This PR does 2 things to avoid runtime errors during nitc. Invalid programs that crashed the compiler now display errors messages. * improve the static detection of loops in virtual types. * consider types in the signatures of properties to be fragile since they contains potentially bad virtual types. If merged with #1241 then nitpick can process the whole tests directory without crashing (impressive, since there is 1584 border-case files). ~~~ $ ./nitpick ../tests/*.nit ../tests/alt/*.nit -I ../lib/standard/ -I ../lib/standard/collection/ [... lots of errors ...] Errors: 1766. Warnings: 195. ~~~ Pull-Request: #1245 Reviewed-by: Lucas Bajolet Reviewed-by: Romain Chanoir Reviewed-by: Alexandre Terrasa ---