Fixed bugs with handling $class::$a[0] and ${expr()}