ref: 94932c665b01982ed386de8fe958168001a95dec
parent: 43149c34053a8ba8320d2b021ca6d6ba86601985
author: Ori Bernstein <[email protected]>
date: Fri Oct 19 10:32:53 EDT 2012
Fix commenting.
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -182,10 +182,10 @@
if (t->resolved)
return;
t->resolved = 1;
+ /* if this is a generic type, bind the params. */
+ tybind(st, t);
if (t->type == Tygeneric)
t = tyfreshen(st, t);
- tybind(st, t);
- /* if this is a generic type, bind the params. */
/* Walk through aggregate type members */
if (t->type == Tystruct) {
for (i = 0; i < t->nmemb; i++)