Home | History | Annotate | Download | only in vet

Lines Matching refs:identifier

90 // by the identifier.
122 f.Badf(expr.Pos(), "invalid AST: short variable declaration of non-identifier")
144 f.Badf(expr.Pos(), "invalid AST: short variable declaration of non-identifier")
205 // checkShadowing checks whether the identifier shadows an identifier in an outer scope.
208 // Can't shadow the blank identifier.
216 // starting from there, we have a shadowed identifier.
221 // Don't complain if it's shadowing a universe-declared identifier; that's fine.
226 // The shadowed identifier must appear before this one to be an instance of shadowing.
231 // Don't complain if the span of validity of the shadowed identifier doesn't include
232 // the shadowing identifier.