mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 18:52:44 +01:00
shader: Fix misspelling
This commit is contained in:
parent
869a61d9be
commit
6d779965f9
@ -555,7 +555,7 @@ func (s *compileState) detectType(b *block, expr ast.Expr) typ {
|
|||||||
if b.outer != nil {
|
if b.outer != nil {
|
||||||
return s.detectType(b.outer, e)
|
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{}
|
return typ{}
|
||||||
//case *ast.SelectorExpr:
|
//case *ast.SelectorExpr:
|
||||||
//return fmt.Sprintf("%s.%s", dumpExpr(e.X), dumpExpr(e.Sel))
|
//return fmt.Sprintf("%s.%s", dumpExpr(e.X), dumpExpr(e.Sel))
|
||||||
|
Loading…
Reference in New Issue
Block a user