File tree Expand file tree Collapse file tree 9 files changed +31
-19
lines changed Expand file tree Collapse file tree 9 files changed +31
-19
lines changed Original file line number Diff line number Diff line change 1212
1313## master
1414
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+
1527## 0.6.4
1628
1729#### :rocket : New Feature
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ type signatureDetais = {
3131type detail =
3232 | @as ("record" ) Record ({items : array <field >})
3333 | @as ("variant" ) Variant ({items : array <constructor >})
34- | @as ("alias" ) Signature (signatureDetais )
34+ | @as ("alias" ) Signature ({ details : signatureDetais } )
3535
3636type source = {
3737 filepath : string ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ type signatureDetais = {
3131type detail =
3232 | @as ("record" ) Record ({items : array <field >})
3333 | @as ("variant" ) Variant ({items : array <constructor >})
34- | @as ("signature" ) Signature (signatureDetais )
34+ | @as ("signature" ) Signature ({ details : signatureDetais } )
3535
3636type source = {
3737 filepath : string ,
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ let stringifyDetail ?(indentation = 0) (detail : docItemDetail) =
176176 stringifyObject ~start OnNewline:true ~indentation
177177 [
178178 (" kind" , Some (wrapInQuotes " signature" ));
179- ( " items " ,
179+ ( " details " ,
180180 Some
181181 (stringifyObject ~start OnNewline:false ~indentation
182182 [
Original file line number Diff line number Diff line change 3434 "detail" :
3535 {
3636 "kind" : " signature" ,
37- "items " : {
37+ "details " : {
3838 "parameters" : [{
3939 "path" : " unit"
4040 }],
8181 "detail" :
8282 {
8383 "kind" : " signature" ,
84- "items " : {
84+ "details " : {
8585 "parameters" : [{
8686 "path" : " unit"
8787 }],
Original file line number Diff line number Diff line change 3434 "detail" :
3535 {
3636 "kind" : " signature" ,
37- "items " : {
37+ "details " : {
3838 "parameters" : [{
3939 "path" : " unit"
4040 }],
8181 "detail" :
8282 {
8383 "kind" : " signature" ,
84- "items " : {
84+ "details " : {
8585 "parameters" : [{
8686 "path" : " unit"
8787 }],
Original file line number Diff line number Diff line change 4949 "detail" :
5050 {
5151 "kind" : " signature" ,
52- "items " : {
52+ "details " : {
5353 "parameters" : [{
5454 "path" : " string"
5555 }],
7373 "detail" :
7474 {
7575 "kind" : " signature" ,
76- "items " : {
76+ "details " : {
7777 "parameters" : [{
7878 "path" : " t"
7979 }],
9797 "detail" :
9898 {
9999 "kind" : " signature" ,
100- "items " : {
100+ "details " : {
101101 "returnType" : {
102102 "path" : " int"
103103 }
221221 "detail" :
222222 {
223223 "kind" : " signature" ,
224- "items " : {
224+ "details " : {
225225 "parameters" : [{
226226 "path" : " SomeInnerModule.status"
227227 }],
317317 "detail" :
318318 {
319319 "kind" : " signature" ,
320- "items " : {
320+ "details " : {
321321 "parameters" : [{
322322 "path" : " unit"
323323 }],
365365 "detail" :
366366 {
367367 "kind" : " signature" ,
368- "items " : {
368+ "details " : {
369369 "parameters" : [{
370370 "path" : " t"
371371 }],
414414 "detail" :
415415 {
416416 "kind" : " signature" ,
417- "items " : {
417+ "details " : {
418418 "parameters" : [{
419419 "path" : " int"
420420 }],
450450 "detail" :
451451 {
452452 "kind" : " signature" ,
453- "items " : {
453+ "details " : {
454454 "returnType" : {
455455 "path" : " int"
456456 }
484484 "detail" :
485485 {
486486 "kind" : " signature" ,
487- "items " : {
487+ "details " : {
488488 "returnType" : {
489489 "path" : " int"
490490 }
529529 "detail" :
530530 {
531531 "kind" : " signature" ,
532- "items " : {
532+ "details " : {
533533 "returnType" : {
534534 "path" : " int"
535535 }
Original file line number Diff line number Diff line change 3333 "detail" :
3434 {
3535 "kind" : " signature" ,
36- "items " : {
36+ "details " : {
3737 "returnType" : {
3838 "path" : " string"
3939 }
Original file line number Diff line number Diff line change 3333 "detail" :
3434 {
3535 "kind" : " signature" ,
36- "items " : {
36+ "details " : {
3737 "returnType" : {
3838 "path" : " string"
3939 }
You can’t perform that action at this time.
0 commit comments