Closed BawdyInkSlinger closed 1 year ago
I'm unsure if you're having a verbiage or a knowledge breakdown, but while that is broken, it's not what you claimed.
It is an object literal method shorthand notation, so it's definitely a property. The issue is that it should have been a property descriptor instead. E.g.,
random : {
value() {
++this.pull;
return this.prng();
}
}
Regardless. It was most certainly broken, though that wasn't the only issue with that rewritten code. Both errors were caught because of you, so thanks.
I'm unsure if you're having a verbiage or a knowledge breakdown, but while that is broken, it's not what you claimed.
It is an object literal method shorthand notation, so it's definitely a property. The issue is that it should have been a property descriptor instead.
Yep, sorry, that's what I should have said.
Regardless. It was most certainly broken, though that wasn't the only issue with that rewritten code. Both errors were caught because of you, so thanks.
Happy to help! Should I close this issue?
You can if you want to, but there's no need. I referenced the issue in the commit messages, so it will automatically be closed when develop
is merged into master
.
Describe the bug. I believe there is code in State.prngCreate that isn't used. I'm not sure if this is a bug or just some code that should be removed:
I don't think
random()
does anything as written, because it doesn't have the type of a property.