File tree 9 files changed +31
-19
lines changed
9 files changed +31
-19
lines changed Original file line number Diff line number Diff line change 12
12
13
13
## master
14
14
15
+ ## 0.6.6
16
+
17
+ ### :bug : Bug Fix
18
+
19
+ - Correct ReScript bindings for signature details. https://github.com/rescript-lang/rescript-vscode/pull/1046
20
+
21
+ ## 0.6.5
22
+
23
+ #### :rocket : New Feature
24
+
25
+ - Add additional signature information to doc json. https://github.com/rescript-lang/rescript-vscode/pull/1043
26
+
15
27
## 0.6.4
16
28
17
29
#### :rocket : New Feature
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ type signatureDetais = {
31
31
type detail =
32
32
| @as ("record" ) Record ({items : array <field >})
33
33
| @as ("variant" ) Variant ({items : array <constructor >})
34
- | @as ("alias" ) Signature (signatureDetais )
34
+ | @as ("alias" ) Signature ({ details : signatureDetais } )
35
35
36
36
type source = {
37
37
filepath : string ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ type signatureDetais = {
31
31
type detail =
32
32
| @as("record") Record({items: array<field>})
33
33
| @as("variant") Variant({items: array<constructor>})
34
- | @as("signature") Signature(signatureDetais)
34
+ | @as("signature") Signature({details: signatureDetais} )
35
35
36
36
type source = {
37
37
filepath: string,
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ let stringifyDetail ?(indentation = 0) (detail : docItemDetail) =
176
176
stringifyObject ~start OnNewline:true ~indentation
177
177
[
178
178
(" kind" , Some (wrapInQuotes " signature" ));
179
- ( " items " ,
179
+ ( " details " ,
180
180
Some
181
181
(stringifyObject ~start OnNewline:false ~indentation
182
182
[
Original file line number Diff line number Diff line change 34
34
"detail" :
35
35
{
36
36
"kind" : " signature" ,
37
- "items " : {
37
+ "details " : {
38
38
"parameters" : [{
39
39
"path" : " unit"
40
40
}],
81
81
"detail" :
82
82
{
83
83
"kind" : " signature" ,
84
- "items " : {
84
+ "details " : {
85
85
"parameters" : [{
86
86
"path" : " unit"
87
87
}],
Original file line number Diff line number Diff line change 34
34
"detail" :
35
35
{
36
36
"kind" : " signature" ,
37
- "items " : {
37
+ "details " : {
38
38
"parameters" : [{
39
39
"path" : " unit"
40
40
}],
81
81
"detail" :
82
82
{
83
83
"kind" : " signature" ,
84
- "items " : {
84
+ "details " : {
85
85
"parameters" : [{
86
86
"path" : " unit"
87
87
}],
Original file line number Diff line number Diff line change 49
49
"detail" :
50
50
{
51
51
"kind" : " signature" ,
52
- "items " : {
52
+ "details " : {
53
53
"parameters" : [{
54
54
"path" : " string"
55
55
}],
73
73
"detail" :
74
74
{
75
75
"kind" : " signature" ,
76
- "items " : {
76
+ "details " : {
77
77
"parameters" : [{
78
78
"path" : " t"
79
79
}],
97
97
"detail" :
98
98
{
99
99
"kind" : " signature" ,
100
- "items " : {
100
+ "details " : {
101
101
"returnType" : {
102
102
"path" : " int"
103
103
}
221
221
"detail" :
222
222
{
223
223
"kind" : " signature" ,
224
- "items " : {
224
+ "details " : {
225
225
"parameters" : [{
226
226
"path" : " SomeInnerModule.status"
227
227
}],
317
317
"detail" :
318
318
{
319
319
"kind" : " signature" ,
320
- "items " : {
320
+ "details " : {
321
321
"parameters" : [{
322
322
"path" : " unit"
323
323
}],
365
365
"detail" :
366
366
{
367
367
"kind" : " signature" ,
368
- "items " : {
368
+ "details " : {
369
369
"parameters" : [{
370
370
"path" : " t"
371
371
}],
414
414
"detail" :
415
415
{
416
416
"kind" : " signature" ,
417
- "items " : {
417
+ "details " : {
418
418
"parameters" : [{
419
419
"path" : " int"
420
420
}],
450
450
"detail" :
451
451
{
452
452
"kind" : " signature" ,
453
- "items " : {
453
+ "details " : {
454
454
"returnType" : {
455
455
"path" : " int"
456
456
}
484
484
"detail" :
485
485
{
486
486
"kind" : " signature" ,
487
- "items " : {
487
+ "details " : {
488
488
"returnType" : {
489
489
"path" : " int"
490
490
}
529
529
"detail" :
530
530
{
531
531
"kind" : " signature" ,
532
- "items " : {
532
+ "details " : {
533
533
"returnType" : {
534
534
"path" : " int"
535
535
}
Original file line number Diff line number Diff line change 33
33
"detail" :
34
34
{
35
35
"kind" : " signature" ,
36
- "items " : {
36
+ "details " : {
37
37
"returnType" : {
38
38
"path" : " string"
39
39
}
Original file line number Diff line number Diff line change 33
33
"detail" :
34
34
{
35
35
"kind" : " signature" ,
36
- "items " : {
36
+ "details " : {
37
37
"returnType" : {
38
38
"path" : " string"
39
39
}
You can’t perform that action at this time.
0 commit comments