mirror of
https://github.com/yaitskov/purescript-typeable.git
synced 2025-01-15 19:41:59 +00:00
Bugfix
This commit is contained in:
parent
7de57ccbc6
commit
21026eeb45
@ -84,7 +84,7 @@ function eqTypeRepHelper(t1,t2) {
|
||||
if(t1.record.length !== t2.record.length) return false;
|
||||
for(var i=0; i<t1.record.length;i++) {
|
||||
if( (t1.record[i].field !== t2.record[i].field)
|
||||
|| (t1.record[i].typ !== t2.record[i].typ)) return false;
|
||||
|| !(eqTypeRepHelper(t1.record[i].typ, t2.record[i].typ))) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user