Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: Linking rewrite #7027
feat: Linking rewrite #7027
Changes from 14 commits
7c60403
a5b1933
cc9eefa
4b1b6fa
ec48668
f900581
243eeee
68143ed
89d1a9d
9e0aa35
3d720c5
a12e87e
824e027
f847543
8884dc4
474b608
834676e
2a37680
e7c59a2
61bcf0c
4c6062b
e5d808e
25e47d1
20aad6b
c1a4f5d
8926dc5
343aeb5
66b9909
1114126
fc0e37b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
do we need &self here or can this also be a standalone function?
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.
We don't really need
&self
here, however I believe thathighlevel_known_contracts
andLibraries
logic is specific to scripts so we can make it a standalone function but still in scope of the scriptsThere 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.
wonder if we can give this a different name e.g
link_script
for clarity?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.
@Evalir you mean separate it from
ScriptArgs
and rename?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.
@klkvr personally don't mind either separating it or keeping it on
ScriptArgs
—just think the fn name can be more specific 😄If we can make this a standalone fn outside
ScriptArgs
I think it would be nice, as it shows this is explictly a script-related helper.