Open NicolasRouquette opened 7 years ago
The leon library was compiled with Artima's Supersafe with the following settings:
version 1
# See http://www.artima.com/supersafe_user_guide.html
# http://www.artima.com/supersafe_user_guide.html#array-comparison
# prevent nested array
# http://www.artima.com/supersafe_user_guide.html#preventing-a-type-from-being-used-in-comparison
prevent comparison Any nested
# http://www.artima.com/supersafe_user_guide.html#prevent-suspicious-inferred-type
prevent suspicious inferred type
Fixes #304
I use the leon library in another project where I compile it with these settings:
Most of the refactoring is to due to moving classes and objects that were defined in a package object file to a separate compilation unit.
I was surprised that
-Yno-imports
helps readability of the library where an unqualified type name could be misunderstood to refer to a type in leon's library instead of the scala library. For example, inleon.lang.Bag
, the unqualifiedList
type needs to refer toscala.collection.immutable.List
instead ofleon.collection.List
.