src/compiler/SemanticAnalysis.h
changeset 220 5df4a112967d
parent 217 c22e983b3b6e
child 221 0c588a96837c
     1.1 --- a/src/compiler/SemanticAnalysis.h	Sun Nov 18 22:18:23 2012 -0800
     1.2 +++ b/src/compiler/SemanticAnalysis.h	Mon Nov 19 01:13:44 2012 -0800
     1.3 @@ -103,6 +103,11 @@
     1.4      HLValue *lvalue(Expression *expr);
     1.5      void discharge(HIR *hir);
     1.6  
     1.7 +    bool typeCheckArray(const SourcePosition &pos,
     1.8 +                        Handle<Type> argGiven,
     1.9 +                        Handle<Type> argActual,
    1.10 +                        CoercionKind kind);
    1.11 +
    1.12    private:
    1.13      // Used to target break/catch statements.
    1.14      class LoopScope