fix: for tag not respecting Drop#valueOf(), fixes #515

This commit is contained in:
Harttle
2022-07-09 22:21:51 +08:00
parent a19feea7c4
commit c3e51caa70
6 changed files with 15 additions and 18 deletions
+1 -2
View File
@@ -324,8 +324,7 @@ describe('tags/for', function () {
yield 'b'
yield 'c'
}
public valueOf (): string {
toString () {
return 'MockIterableDrop'
}
}