Skip to content
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

fix for #753 #754

Merged
merged 4 commits into from
Sep 13, 2023
Merged

fix for #753 #754

merged 4 commits into from
Sep 13, 2023

Conversation

domluna
Copy link
Owner

@domluna domluna commented Sep 8, 2023

No description provided.

@domluna domluna changed the title start fix for #743 start fix for #753 Sep 8, 2023
@domluna domluna changed the title start fix for #753 fix for #753 Sep 9, 2023
@@ -38,7 +38,14 @@ function n_binaryopcall!(ss::SciMLStyle, fst::FST, s::State; indent::Int = -1)
line_margin = s.line_offset + length(fst) + fst.extra_margin
if line_margin > s.opts.margin &&
fst.ref !== nothing &&
CSTParser.defines_function(fst.ref[])
(
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChrisRackauckas should another check for short_to_long_function_def be added here or is it intentional to not check?

Copy link
Owner Author

@domluna domluna Sep 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the check is now in the pass itself so all that's left is verify that we can to make try transform always, even if short_to_long_function_def is set to false

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should another check for short_to_long_function_def be added here or is it intentional to not check?

That I don't know, @YingboMa wrote that I think?

@domluna domluna merged commit 5f2edda into master Sep 13, 2023
56 checks passed
@domluna
Copy link
Owner Author

domluna commented Sep 13, 2023

@JuliaRegistrator register

@JuliaRegistrator
Copy link

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants