Skip to content

Commit b90a074

Browse files
committed
Exclude type parameters from libraries from test
1 parent 1c171a4 commit b90a074

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
| Edge | EdgeConstraint |
22
| Edge | interface { } |
3-
| F | floaty |
43
| K | comparable |
54
| Node | NodeConstraint |
65
| Node | interface { } |
76
| S | interface { } |
87
| SF2 | interface { } |
98
| SG2 | interface { } |
109
| T | interface { } |
11-
| T1 | interface { } |
12-
| T2 | interface { } |
1310
| TF1 | interface { } |
1411
| TF2 | interface { } |
1512
| TG1 | interface { } |
1613
| TG2 | interface { } |
1714
| U | interface { } |
1815
| V | interface { int64 \| float64 } |
19-
| bytes | interface { []uint8 \| string } |
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
import go
22

3-
from TypeParamType tpt
3+
from TypeParamType tpt, TypeEntity te, string filepath
4+
where
5+
te = tpt.getEntity() and
6+
te.hasLocationInfo(filepath, _, _, _, _) and
7+
filepath != ""
48
select tpt.getParamName(), tpt.getConstraint().pp()

0 commit comments

Comments
 (0)