Skip to content

Commit

Permalink
Further improvements to hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Jul 10, 2024
1 parent 5385c21 commit 02ecb53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void collect(current:(Variant) `<Name name> ( <{TypeArg ","}* arguments> <Keywor

scope = c.getScope();
c.enterScope(current);
args = "<for(arg <- arguments){><arg.\type> <arg.name> <}>";
args = "<for(arg <- arguments){><arg is typedVariable ? "<arg.\type> <arg.name>" : "<arg>"> <}>";
md5Contrib = "<currentModuleName><adtName><dataCounter><name><variantCounter>( <args>)";
//println("<current>: <md5Contrib>");
c.defineInScope(adtParentScope, prettyPrintName(name), constructorId(), name, defType(adt + formals + kwFormals + commonKwFormals,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ void collect(current: (FunctionBody) `{ <Statement* statements> }`, Collector c)
}
str md5Contrib4signature(Signature signature){
fs = "<for(f <- signature.parameters.formals.formals){><f.\type> <f.name> <}>";
fs = "<for(f <- signature.parameters.formals.formals){><f is typeVariable ? "<f.\type> <f.name>" : "<f>"> <}>";
res = "<signature.modifiers><signature.\type> <signature.name>( <fs>)";
//println("<signature> =\> <res>");
return res;
Expand Down

0 comments on commit 02ecb53

Please sign in to comment.