I made a simple struct that overloads opIndex and opSlice, and also exposed a "length" property. But when I try to use $ on it, I got:
Error: undefined identifier __dollar I tried making a property "__dollar" that just returned "length", but that didn't change anything. What's going on? Any ideas?