Skip to content

Commit 37454ab

Browse files
committed
Go: Add upgrade and downgrade scripts
1 parent 032636c commit 37454ab

8 files changed

Lines changed: 2288 additions & 0 deletions

File tree

go/downgrades/5ff5325d274ae4f86defa195577bc7c1370b72fa/go.dbscheme

Lines changed: 563 additions & 0 deletions
Large diffs are not rendered by default.

go/downgrades/5ff5325d274ae4f86defa195577bc7c1370b72fa/old.dbscheme

Lines changed: 563 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class TypeParamType extends @typeparamtype {
2+
string toString() { none() }
3+
}
4+
5+
class CompositeType extends @compositetype {
6+
string toString() { none() }
7+
}
8+
9+
class TypeParamParentObject extends @typeparamparentobject {
10+
string toString() { none() }
11+
}
12+
13+
from TypeParamType tp, string name, CompositeType bound, TypeParamParentObject parent, int idx, boolean is_from_recv
14+
where typeparam(tp, name, bound, parent, idx, is_from_recv)
15+
select tp, name, bound, parent, idx
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
description: Track whether a type parameter is from a receiver
2+
compatibility: partial
3+
typeparam.rel: run typeparam.qlo

0 commit comments

Comments
 (0)