Show
Ignore:
Timestamp:
07/17/09 12:49:38 (4 months ago)
Author:
jrhil47
Message:

[ast] Changed CoercionInvocation? node to coerce to an arbitrary Type, rather than only BaseType? (for tuple and arrow coercion).
[coercions] Integrated coercion into type checker. Now coercions to expected types (excluding function application) should be inserted by the type checker. Needs tests.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/astgen/Fortress.ast

    r3958 r3968  
    923923                         * after inferring the implicit coercion invocations 
    924924                         */ 
    925                         CoercionInvocation(BaseType toType, 
    926                                            List<StaticArg> staticArgs, Expr arg); 
     925                        CoercionInvocation(Type toType, 
     926                                           List<StaticArg> staticArgs, 
     927                                           Expr arg); 
    927928                        /** 
    928929                         * a method invocation