Merge branch 'tools' into wip
authorJean Privat <jean@pryen.org>
Thu, 5 Jan 2012 12:10:21 +0000 (07:10 -0500)
committerJean Privat <jean@pryen.org>
Thu, 5 Jan 2012 12:10:21 +0000 (07:10 -0500)
1  2 
src/icode/icode_tools.nit

@@@ -15,6 -15,7 +15,7 @@@
  # limitations under the License.
  
  # Tools to manipulate intermediace nit code representation
+ module icode_tools
  import icode_builder
  
  # A simple visitor to visit icode structures
@@@ -456,7 -457,7 +457,7 @@@ en
  redef class ITypeCheck
        redef fun inner_dup_with(d)
        do
 -              return new ITypeCheck(d.dup_ireg(expr), stype)
 +              return new ITypeCheck(d.dup_ireg(expr1), d.dup_ireg(expr2), stype)
        end
  end