lib: fix useless redef signature warnings
authorAlexandre Terrasa <alexandre@moz-code.org>
Wed, 20 Apr 2016 06:33:00 +0000 (02:33 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 20 Apr 2016 22:40:50 +0000 (18:40 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/pnacl/examples/converter/converter.nit

index 907aaa3..69966bd 100644 (file)
@@ -27,8 +27,7 @@ class Converter
        super PnaclApp
 
        # We have to redefine the method to do what we want when receiving a dictionary from JS
-       redef fun handle_dictionary(dictionary: PepperDictionary)
-       do
+       redef fun handle_dictionary(dictionary) do
                # Getting values from the dictionary
                var from = dictionary["from"]
                var to = dictionary["to"]