Menu

#19 ir is not defined

1.0
closed
nobody
None
2017-09-03
2017-02-07
Anonymous
No

The ClipperLib.IntRect code path with a single argument references an unknown global “ir”, which presumably should be “a[0]” instead.

$ node -e 'new require("./clipper_unminified").IntRect({})'
…/clipper_unminified.js:2195
      this.left = ir.left;
                  ^

ReferenceError: ir is not defined
    at Object.ClipperLib.IntRect (…/clipper_unminified.js:2195:19)

The commit message from a commit in a project of mine claims I reported this by mail in the past, but it still isn't fixed in 6.2.1.2, so apparently the report got lost.

If this project were on GitHub, I'd write a pull request instead of a bug report… Any chance of moving there?

Discussion

  • Martin von Gagern

    Oh, I hadn't been logged in. Sorry. Post is by me.

     
  • Timo Kähkönen

    Timo Kähkönen - 2017-09-03

    Thanks for reporting. This will be fixed in upcoming 6.4.2.1 version.

     
  • Timo Kähkönen

    Timo Kähkönen - 2017-09-03
    • status: open --> closed
     

Log in to post a comment.