# HG changeset patch # User Mike Pavone # Date 1344565581 25200 # Node ID 182c311a9fed49e9354fbf1be37d650f5ed50ec4 # Parent 92ff9630897a19280fecbb5f157bfdb4640865c6 Fix variance of lambda parameters diff -r 92ff9630897a -r 182c311a9fed types.js --- 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; }