Goose  Diff

Differences From Artifact [de835e26d9]:

  • File bs/builtins/types/template/uni-tdecl.cpp — part of check-in [af650a9e95] at 2019-09-22 14:37:55 on branch trunk — Project renaming. (user: achavasse size: 8194)

To Artifact [ebf566a1c2]:

  • File bs/builtins/types/template/uni-tdecl.cpp — part of check-in [4fe418f4d0] at 2019-09-26 23:37:51 on branch trunk — Refactored the parsing of verification statements so that it works properly in all cases (regular functions, template functions, function type expressions, lambdas). (user: achavasse size: 8208)

56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
            } );

        e.unificationRuleSet()->addSymRule( tDeclPat, ANYTERM( _ ), UnifyTDecl );
        e.unificationRuleSet()->addSymRule( tDeclPat, UnifyTDecl );

        // tfunc tdecl param / tfunc arg
        auto tFuncTypePat = ValueToIRExpr( Value( TypeType(), VEC( TSID( texpr ), TSID( tfunc ),
            ANYTERM( _ ), ANYTERM( _ ), ANYTERM( _ ), ANYTERM( _ ) ) ) );

        auto tDeclTFuncPat = ParamPat( GetValueType< TDecl >(), VEC( tFuncTypePat, ANYTERM( _ ) ) );

        e.unificationRuleSet()->addSymRule(

            tDeclTFuncPat,








|







56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
            } );

        e.unificationRuleSet()->addSymRule( tDeclPat, ANYTERM( _ ), UnifyTDecl );
        e.unificationRuleSet()->addSymRule( tDeclPat, UnifyTDecl );

        // tfunc tdecl param / tfunc arg
        auto tFuncTypePat = ValueToIRExpr( Value( TypeType(), VEC( TSID( texpr ), TSID( tfunc ),
            ANYTERM( _ ), ANYTERM( _ ), ANYTERM( _ ), ANYTERM( _ ), ANYTERM( _ ) ) ) );

        auto tDeclTFuncPat = ParamPat( GetValueType< TDecl >(), VEC( tFuncTypePat, ANYTERM( _ ) ) );

        e.unificationRuleSet()->addSymRule(

            tDeclTFuncPat,