From 90c54c496b268f0977517448e8f7de54e93b975d Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 17 May 2018 11:46:45 +0200 Subject: pkg/compiler: detect duplicate fields in template structs --- pkg/compiler/testdata/errors.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/compiler/testdata') diff --git a/pkg/compiler/testdata/errors.txt b/pkg/compiler/testdata/errors.txt index 2d61d9e76..750916a83 100644 --- a/pkg/compiler/testdata/errors.txt +++ b/pkg/compiler/testdata/errors.txt @@ -288,6 +288,7 @@ type templ_struct0[A, B] { type templ_struct1[STR] { f string[STR, 40] + f int32 ### duplicate field f in template struct templ_struct1 } type templ_struct2[A] { -- cgit mrf-deployment