Fixes for #8 and #16 on this branch.
The original fix for #8 used a check like _.label == null but that would never work because it always returns false. I changed the check to _.label.isNaN. I also have it through an IllegalArgumentException instead of logError so it fails fast and we can verify it in the unit test.
16 was pretty interesting. See notes in that issue.
Fixes for #8 and #16 on this branch. The original fix for #8 used a check like
_.label == null
but that would never work because it always returns false. I changed the check to_.label.isNaN
. I also have it through an IllegalArgumentException instead of logError so it fails fast and we can verify it in the unit test.16 was pretty interesting. See notes in that issue.