The Base.@propagate_inbounds documentation says the macro affects the annotated “function”.
Does it mean that it affects all the method defined to a specific function ? Or just the annotated method?
I ask because I want to implement several Base.getindex methods for a new type, with some using @propagate_inbounds but some other not (cause they seem too long and too frequently used to me to risk inlining them everywhere).