JuliaArrays / AxisArrays.jl

Performant arrays where each dimension can have a named axis with values
http://JuliaArrays.github.io/AxisArrays.jl/latest/
Other
200 stars 41 forks source link

Respect generated function invariants #163

Closed c42f closed 5 years ago

c42f commented 5 years ago

Generated functions cannot call any function which might have a method added after the generated function is defined. This means we need to hoist such functions outside the generator, either by calling them beforehand (as we do with axistrait), or ensuring that all methods are defined before the generator (axisdim).

I belive this fixes #161 (test failures with precompiled-modules=no).

TODO

c42f commented 5 years ago

Thanks Tim!