opts: Do not rely on the implicit fixing of type bounds
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Tue, 9 May 2017 17:42:25 +0000 (13:42 -0400)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Tue, 23 May 2017 03:56:58 +0000 (23:56 -0400)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

lib/opts.nit

index c93d39a..a7789f8 100644 (file)
@@ -127,7 +127,7 @@ end
 # A count option. Count the number of time this option is present
 class OptionCount
        super Option
-       redef type VALUE: Int
+       redef type VALUE: Int is fixed
 
        # Init a new OptionCount with a `help` message and `names`.
        init(help: String, names: String...) is old_style_init do super(help, 0, names)