From 801aa3b44254341018a1acbe754f2ce3b0900e2a Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 16 Nov 2022 12:17:49 -0800 Subject: Clean up type checking of higher order expressions. (#2519) * Clean up type checking of higher order expressions. * Replace `goto` with `break` to pacify clang. * Fix. * Fixes. * Fix more tests. * Fix lowerWitnessTable parameter error. * Exclude attributes from ast printing. Co-authored-by: Yong He --- source/slang/slang-syntax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-syntax.h') diff --git a/source/slang/slang-syntax.h b/source/slang/slang-syntax.h index 4e1900636..8f88ddb2d 100644 --- a/source/slang/slang-syntax.h +++ b/source/slang/slang-syntax.h @@ -276,7 +276,7 @@ namespace Slang // ThisTypeSubstitution* findThisTypeSubstitution( - Substitutions* substs, + const Substitutions* substs, InterfaceDecl* interfaceDecl); RequirementWitness tryLookUpRequirementWitness( -- cgit v1.2.3