From 6d779965f9e2c0bc0e455494a0c7b0f5091af1b3 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 7 Jun 2020 17:03:40 +0900 Subject: [PATCH] shader: Fix misspelling --- internal/shader/shader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/shader/shader.go b/internal/shader/shader.go index 680ca0d9a..045b65172 100644 --- a/internal/shader/shader.go +++ b/internal/shader/shader.go @@ -555,7 +555,7 @@ func (s *compileState) detectType(b *block, expr ast.Expr) typ { if b.outer != nil { return s.detectType(b.outer, e) } - s.addError(expr.Pos(), fmt.Sprintf("unexpected identity: %s", n)) + s.addError(expr.Pos(), fmt.Sprintf("unexpected identifier: %s", n)) return typ{} //case *ast.SelectorExpr: //return fmt.Sprintf("%s.%s", dumpExpr(e.X), dumpExpr(e.Sel))