cast operator ( :) must have at least one leading space to differentiate it from the member index

var foo : bar   -- type cast
var foo:bar     -- member lookup