Uh oh!
There was an error while loading. Please reload this page.
Implement syntax enforcment for Pallet<T>(_); - #8095
Conversation
bkchr
commented
Feb 10, 2021
Why enforce it? |
gui1117
commented
Feb 10, 2021
I thought some ppl could make typos like: And would have preferred a more precise error message than just But actually I agree it isn't really needed. I let the PR open if some ppl have strong opinion to have it, otherwise I'll close it. |
bkchr
commented
Feb 10, 2021
Ahh. Could you not just allow only |
shawntabrizi
commented
Feb 10, 2021
I agree. I do not think enforcing this makes sense. |
gui1117
commented
Feb 10, 2021
ok, with the 3.0 released, I think we can wait to see if ppl get confused by syntax error and maybe improve on this like you suggested or maybe it is not needed at all. |
As a follow up on #8091
This PR enforce the new syntax.
For now nothing is enforced on the fields of pallet.
If this PR doesn't get through before 3.0 I think we can close it.