jump-dev / JuMP.jl

Modeling language for Mathematical Optimization (linear, mixed-integer, conic, semidefinite, nonlinear)
http://jump.dev/JuMP.jl/
Other
2.22k stars 393 forks source link

Add parse_macro_arguments to unify how we handle macro inputs #3616

Closed odow closed 9 months ago

odow commented 9 months ago

Part of #3513

The main benefit of this is that it provides a public API via Containers.parse_macro_arguments, and it deals with the parameter stuff that happens when you have ; keywords in a macro.

codecov[bot] commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (c151994) 98.31% compared to head (d527165) 98.21%. Report is 1 commits behind head on master.

Files Patch % Lines
src/macros/@objective.jl 93.75% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3616 +/- ## ========================================== - Coverage 98.31% 98.21% -0.11% ========================================== Files 43 43 Lines 5645 5663 +18 ========================================== + Hits 5550 5562 +12 - Misses 95 101 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.