Yes, if opDispatch!("length") returns some T : size_t, it will be used.
But if not, the sample still should compile and throw VariantException in runtime, if length is being accessed. At least this is how i understand this.