summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-01-06 20:39:35 +0000
committerrillig <rillig@pkgsrc.org>2020-01-06 20:39:35 +0000
commit4c690314fad092e5851571c8ef980c973209d56b (patch)
tree1a6dd440f92ad4003842225045031f4f98d5bc66 /pkgtools
parent506b37c0e72c3a42a6ef448cea6f253407e3ffb5 (diff)
downloadpkgsrc-4c690314fad092e5851571c8ef980c973209d56b.tar.gz
pkgtools/pkglint: remove outdated ideas.go
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/intqa/ideas.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/pkgtools/pkglint/files/intqa/ideas.go b/pkgtools/pkglint/files/intqa/ideas.go
deleted file mode 100644
index 7fc5eb4f7ea..00000000000
--- a/pkgtools/pkglint/files/intqa/ideas.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package intqa
-
-// XXX: It might be nice to check all comments of the form "See XYZ"
-// to see whether XYZ actually exists. The scope should be the current type,
-// then the current package, then a package-qualified identifier.
-// As if there were a "_ = XYZ" at the beginning of the function.
-
-// XXX: If there is a constructor for a type, only that constructor may be used
-// for constructing objects. All other forms (var x Type; x := &Type{}) should be forbidden.
-
-// Each test must call its testee, if the testee is callable at all.
-//
-// If it doesn't, the name of the test is misleading. A typical case where
-// this happens is copy-and-paste mistakes combined with incomplete test
-// cases.
-//
-// To check this, every testee must be instrumented.