You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The arguments to any function call are always evaluated first, so this behavior is expected. get does have a method accepting a function as the first argument though for exactly this use case: https://docs.julialang.org/en/v1/base/collections/#Base.get
The following command fails on the macOS binary for Julia 1.6:
It works if it's indexed directly (per https://discourse.julialang.org/t/using-datatype-as-key-in-dict ):
If it helps for motivation/context: I was looking into not using the indexing behavior due to yeesian/ArchGDAL.jl#178.
The text was updated successfully, but these errors were encountered: