mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
refactor/eg: already documented; remove TODO
Change-Id: I7166006a3a922505a5f0a619bd98c0a1505831bc Reviewed-on: https://go-review.googlesource.com/48981 Reviewed-by: Leo Rudberg <ljr@google.com> Reviewed-by: Ross Light <light@google.com> Run-TryBot: Ross Light <light@google.com>
This commit is contained in:
parent
7a4327eb7a
commit
d78e5d2552
@ -179,7 +179,6 @@ func NewTransformer(fset *token.FileSet, tmplPkg *types.Package, tmplFile *ast.F
|
||||
// Dot imports are currently forbidden. We
|
||||
// make the simplifying assumption that all
|
||||
// imports are regular, without local renames.
|
||||
// TODO(adonovan): document
|
||||
return nil, fmt.Errorf("dot-import (of %s) in template", imp.Path.Value)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user