Skip to content

Commit 491503f

Browse files
authored
Merge pull request #185 from goose-lang/fix-nonstruct-generic
Fix nonstruct generic
2 parents 8c28748 + 7ef63da commit 491503f

File tree

13 files changed

+96
-83
lines changed

13 files changed

+96
-83
lines changed

testdata/examples/append_log/append_log.gold.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ mk {
212212
#[global] Arguments mk : clear implicits.
213213
#[global] Arguments t : clear implicits.
214214
End def.
215-
216215
End Log.
217216

218217
Definition Log'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [

testdata/examples/channel/channel.gold.v

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,6 @@ mk {
19571957
#[global] Arguments mk : clear implicits.
19581958
#[global] Arguments t : clear implicits.
19591959
End def.
1960-
19611960
End Cond.
19621961

19631962
Definition Cond'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [
@@ -2000,7 +1999,6 @@ mk {
20001999
#[global] Arguments mk : clear implicits.
20012000
#[global] Arguments t : clear implicits.
20022001
End def.
2003-
20042002
End LockedStack.
20052003

20062004
Definition LockedStack'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [
@@ -2038,7 +2036,6 @@ mk {
20382036
#[global] Arguments mk : clear implicits.
20392037
#[global] Arguments t : clear implicits.
20402038
End def.
2041-
20422039
End EliminationStack.
20432040

20442041
Definition EliminationStack'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [
@@ -2076,7 +2073,6 @@ mk {
20762073
#[global] Arguments mk : clear implicits.
20772074
#[global] Arguments t : clear implicits.
20782075
End def.
2079-
20802076
End request.
20812077

20822078
Definition request'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [
@@ -2111,7 +2107,6 @@ mk {
21112107
#[global] Arguments mk : clear implicits.
21122108
#[global] Arguments t : clear implicits.
21132109
End def.
2114-
21152110
End Lock.
21162111

21172112
Definition Lock'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [
@@ -2152,7 +2147,6 @@ mk {
21522147
#[global] Arguments mk : clear implicits.
21532148
#[global] Arguments t : clear implicits.
21542149
End def.
2155-
21562150
End stream.
21572151

21582152
Definition stream'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [
@@ -2189,7 +2183,6 @@ mk {
21892183
#[global] Arguments mk : clear implicits.
21902184
#[global] Arguments t : clear implicits.
21912185
End def.
2192-
21932186
End streamold.
21942187

21952188
Definition streamold'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [

testdata/examples/comments/comments.gold.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ mk {
3838
#[global] Arguments mk : clear implicits.
3939
#[global] Arguments t : clear implicits.
4040
End def.
41-
4241
End Foo.
4342

4443
Definition Foo'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [

testdata/examples/interfacerecursion/interfacerecursion.gold.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Module A.
5454
Section def.
5555
Context {ext : ffi_syntax} {go_gctx : GoGlobalContext}.
5656
Definition t : Type := interface.t.
57+
#[global] Arguments t : clear implicits.
5758
End def.
5859
End A.
5960

@@ -68,6 +69,7 @@ Module B.
6869
Section def.
6970
Context {ext : ffi_syntax} {go_gctx : GoGlobalContext}.
7071
Definition t : Type := interface.t.
72+
#[global] Arguments t : clear implicits.
7173
End def.
7274
End B.
7375

@@ -89,7 +91,6 @@ mk {
8991
#[global] Arguments mk : clear implicits.
9092
#[global] Arguments t : clear implicits.
9193
End def.
92-
9394
End c.
9495

9596
Definition c'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [

testdata/examples/logging2/logging2.gold.v

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ mk {
391391
#[global] Arguments mk : clear implicits.
392392
#[global] Arguments t : clear implicits.
393393
End def.
394-
395394
End Log.
396395

397396
Definition Log'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [
@@ -466,7 +465,6 @@ mk {
466465
#[global] Arguments mk : clear implicits.
467466
#[global] Arguments t : clear implicits.
468467
End def.
469-
470468
End Txn.
471469

472470
Definition Txn'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [

testdata/examples/mapliteral/mapliteral.gold.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ mk {
5959
#[global] Arguments mk : clear implicits.
6060
#[global] Arguments t : clear implicits.
6161
End def.
62-
6362
End Nested.
6463

6564
Definition Nested'fds_unsealed {ext : ffi_syntax} {go_gctx : GoGlobalContext} : list go.field_decl := [

0 commit comments

Comments
 (0)