infiniteopt / InfiniteOpt.jl

An intuitive modeling interface for infinite-dimensional optimization problems.
https://infiniteopt.github.io/InfiniteOpt.jl/stable
MIT License
251 stars 17 forks source link

Fix keyword parsing with `;` in macros #328

Closed pulsipher closed 10 months ago

pulsipher commented 10 months ago

This fixes a few bugs related to handling macros with the syntax @myobject(model, expr; kwargs...).

odow commented 10 months ago

The difference is not fun. I really wish Julia enforced ; for keyword arguments only.

pulsipher commented 10 months ago

The difference is not fun. I really wish Julia enforced ; for keyword arguments only.

I absolutely agree