@@ -303,14 +303,10 @@ void collect(current: (FunctionDeclaration) `<FunctionDeclaration decl>`, Collec
303303
304304 c .enterLubScope (decl );
305305 collect (decl .tags , c );
306- <tpnames , tpbounds > = collectSignature (decl .signature , c );
307- //println("tpnames: <tpnames>");
308- //iprintln("tpbounds:"); iprintln(tpbounds);
309- //
310306 scope = c .getScope ();
311307 c .setScopeInfo (scope , functionScope (), signatureInfo (signature .\type ));
312-
313-
308+ < tpnames , tpbounds > = collectSignature ( decl . signature , c );
309+
314310 dt = defType ([signature ], AType (Solver s ) {
315311 ft = s .getType (signature );
316312
@@ -477,7 +473,7 @@ tuple[set[str], rel[str,Type]] collectSignature(Signature signature, Collector c
477473 rtU = updateBounds(rt, minB);
478474 formalsList = [ updateBounds(fm, minB) | fm <- formalsList ];
479475 kwFormalsList = [ kwf [fieldType = updateBounds (kwf .fieldType , minB )] | kwf <- computeKwFormals (kwFormals , s ) ];
480- ft = afunc (rt , formalsList , kwFormalsList );
476+ ft = afunc (rtU , formalsList , kwFormalsList );
481477 //ft = updateBounds(afunc(s.getType(returnType), formalsList, computeKwFormals(kwFormals, s)), minB);
482478 return ft ;
483479 });
0 commit comments