<@U016EM8L91B> I think I discovered a bug in magic...
# magic
p
@User I think I discovered a bug in magic: "tech layers mim2cc/m4" does not give anything, although it should
t
Weird, but easy to duplicate.
Ah, right. The MiM2 cap contact is not defined between m4 and m5; it's defined between cap2 (c2) and m5. So "tech layers mim2cc/c2" will work, and "tech layers mim2cc/m5" will work.
p
Hmm, that sounds like magic should provide warnings about such non-existing layers/images when it loads the tech file?
t
In many cases, it will; although magic has the concept of using the plane modifier to limit the types in the expression before it, so that unless you had "mim2cc/m4" by itself and it resolved to a null list, then magic will simply chop non-existing combinations out of the resulting type mask.
p
Hmm ... true.