changeset 103:182c311a9fed

Fix variance of lambda parameters
author Mike Pavone <pavone@retrodev.com>
date Thu, 09 Aug 2012 19:26:21 -0700
parents 92ff9630897a
children 648659961e0e
files types.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/types.js	Thu Aug 09 19:11:42 2012 -0700
+++ b/types.js	Thu Aug 09 19:26:21 2012 -0700
@@ -154,7 +154,7 @@
 	}
 	if (ret) {
 		for (var i in this.params) {
-			if (i >= type.params.length || !this.params[i].satisfiedBy(type.params[i])) {
+			if (i >= type.params.length || !type.params[i].satisfiedBy(this.params[i])) {
 				ret = false;
 				break;
 			}