Skip to content

stream: fix thrown object reference

Rodrigo Muino Tomonari requested to merge github/fork/kanongil/patch-2 into master

The thrown error incorrectly references the previous entry in the list, rather than the one that is problematic.

This makes for a very confusing error message. Eg. The "transform[0]" argument must be of type function or an instance of Stream. Received an instance of ReadableStream.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading