I believe the assertion in the property function should be using ~= for getter. Currently it is allowing the following calls without an assertion being raised:
property()
property({})
I also added "for property" to the error message since the stacktrace doesn't help you know where the issue is coming from since it gives you a line into the bundled amalgamated source. "for property" is maybe not the best wording but I think it helps.
I believe the assertion in the
property
function should be using~=
forgetter
. Currently it is allowing the following calls without an assertion being raised:I also added "for property" to the error message since the stacktrace doesn't help you know where the issue is coming from since it gives you a line into the bundled amalgamated source. "for property" is maybe not the best wording but I think it helps.