-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improved error reporting for near
macro
#1301
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@race-of-sloths score 8
@akorchyn Thank you for your contribution! Your pull request is now a part of the Race of Sloths! Current status: executed
Your contribution is much appreciated with a final score of 8! @dj8yfo received 25 Sloth Points for reviewing and scoring this pull request. What is the Race of SlothsRace of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow For contributors:
For maintainers:
Feel free to check our website for additional details! Bot commands
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: test this patch with neardevhub-contract (repo, a few contracts therein)
neardevhub-contract should be a goto place to check if unsure if stuff's gonna break unexpectedly
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1301 +/- ##
==========================================
- Coverage 80.24% 80.06% -0.18%
==========================================
Files 104 104
Lines 14819 14856 +37
==========================================
+ Hits 11892 11895 +3
- Misses 2927 2961 +34 ☔ View full report in Codecov by Sentry. |
TODO: + a devhub-community-factory there in, patching near-sdk in all dependent contracts, though it must've been defined once in workspace |
@akorchyn i cannot come up with any logical reason, how any of those could be affected, but now i feel calmer |
That was a good call, I completely agree |
TODO: @akorchyn can you run |
there's one more aspect i want to check, which might be a breaking change; wanted to check it first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope, that was allright
Judging from how this was layed outtg link, looks like it wouldn't conflict with this pr |
This PR intends to clarify errors for the user. This PR doesn't introduce new errors, but rather clarifies them. As older compilation errors are hard to understand
near(contract_state)
was used two times in the same crate.near
macroMessages before:
Contract state repetion:
Near
macro nesting: