pkg/compiler: remove fixed TODO (#1376)

This commit is contained in:
Andrey Konovalov 2019-09-04 12:58:59 +02:00 committed by GitHub
parent 05c2dc45fb
commit 3977854c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -861,7 +861,6 @@ func (comp *compiler) checkTypeArgs(t *ast.Type, desc *typeDesc, flags checkFlag
return args
}
// TODO: add warning when template arg is not used
func (comp *compiler) replaceTypedef(ctx *checkCtx, t *ast.Type, flags checkFlags) {
typedefName := t.Ident
comp.usedTypedefs[typedefName] = true