-
Notifications
You must be signed in to change notification settings - Fork 69
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
fix for #753 #754
Conversation
src/styles/sciml/nest.jl
Outdated
@@ -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[]) | |||
( |
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.
@ChrisRackauckas should another check for short_to_long_function_def
be added here or is it intentional to not check?
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.
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
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.
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?
@JuliaRegistrator register |
Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue. |
No description provided.