the wrong type bug seems been fixed in Xcode 6.1.1, also the var v: AnyVar<T> = add(path) bug, so remove the comment