remove the :int shorthand

This commit is contained in:
Torsten Ruger
2018-03-31 19:17:55 +03:00
parent 696886cc94
commit a2173645b3
6 changed files with 9 additions and 9 deletions

View File

@ -17,7 +17,7 @@ module Risc
def +( context )
source = "plus"
compiler = compiler_for(:Integer,:+ ,{other: :int})
compiler = compiler_for(:Integer,:+ ,{other: :Integer})
me , other = self_and_int_arg(compiler,source + "1")
# reduce me and other to integers
compiler.add_slot_to_reg( source + "2" , me , 2 , me)