Skip to content

Commit

Permalink
Fixed erroneous parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Mar 14, 2024
1 parent b51d1d3 commit e7401ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ void checkPatternKwArgs(list[Keyword] kwFormals, (KeywordArguments[Pattern]) `<K
if(kwName == fn){
ift = ft;
if(!isEmpty(bindings)){
try ift = instantiateRascalTypeParameters(k, ft, bindings, s); // changed
try ift = instantiateRascalTypeParameters(kwa, ft, bindings, s); // changed
catch invalidInstantiation(str msg):
s.report(error(kwa, msg));
}
Expand Down

0 comments on commit e7401ab

Please sign in to comment.