From 869b306e1d63c012f5989888682be51b7deb12b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Christophe=20Beaupr=C3=A9?= Date: Tue, 9 May 2017 13:42:25 -0400 Subject: [PATCH] opts: Do not rely on the implicit fixing of type bounds MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean-Christophe Beaupré --- lib/opts.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/opts.nit b/lib/opts.nit index c93d39a..a7789f8 100644 --- a/lib/opts.nit +++ b/lib/opts.nit @@ -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) -- 1.7.9.5