1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
semantic/test/corpus/diff-summaries/go/variadic-function-declarations.json

728 lines
24 KiB
JSON
Raw Normal View History

2016-11-02 04:36:43 +03:00
[{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-variadic-function-declarations-insert-test",
2016-11-02 04:36:43 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go": [
2016-11-02 04:36:43 +03:00
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
22
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'f1' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
19
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'f2' function"
},
2016-11-02 04:36:43 +03:00
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
23
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'f3' function"
2016-11-02 04:36:43 +03:00
}
]
2016-11-02 21:37:30 +03:00
},
"errors": {}
2016-11-02 04:36:43 +03:00
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go"
2016-11-02 04:36:43 +03:00
],
2016-11-11 00:19:53 +03:00
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index e69de29..e9d461f 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -0,0 +1,3 @@",
"+func f1(a ...*int) {}",
"+func f2(...int) {}",
"+func f3(a, ...bool) {}"
],
2016-11-02 04:36:43 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-11 00:19:53 +03:00
"shas": "256c131008b104fa15d57c0f3ff56131c11337fe..b6ef32833f1cf331e26caedfd359c593f9b370b9"
2016-11-02 04:36:43 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-variadic-function-declarations-replacement-insert-test",
2016-11-02 04:36:43 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go": [
2016-11-02 04:36:43 +03:00
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
22
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'g1' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
19
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'g2' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
23
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'g3' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
4,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
4,
2016-11-02 21:37:30 +03:00
22
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'f1' function"
},
2016-11-02 04:36:43 +03:00
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
5,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
5,
2016-11-02 21:37:30 +03:00
19
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'f2' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
6,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
6,
2016-11-02 21:37:30 +03:00
23
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'f3' function"
2016-11-02 04:36:43 +03:00
}
]
2016-11-02 21:37:30 +03:00
},
"errors": {}
2016-11-02 04:36:43 +03:00
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go"
2016-11-02 04:36:43 +03:00
],
2016-11-11 00:19:53 +03:00
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index e9d461f..1e4f816 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,3 +1,9 @@",
"+func g1(a ...*int) {}",
"+func g2(...int) {}",
"+func g3(a, ...bool) {}",
"+func f1(a ...*int) {}",
"+func f2(...int) {}",
"+func f3(a, ...bool) {}",
" func f1(a ...*int) {}",
" func f2(...int) {}",
" func f3(a, ...bool) {}"
],
2016-11-02 04:36:43 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-11 00:19:53 +03:00
"shas": "b6ef32833f1cf331e26caedfd359c593f9b370b9..ef0f85884738262f219743f46d645a73d12f5b99"
2016-11-02 04:36:43 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-variadic-function-declarations-delete-insert-test",
2016-11-02 04:36:43 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go": [
2016-11-02 04:36:43 +03:00
{
"span": {
"replace": [
{
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
},
{
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
}
]
},
2016-11-11 00:19:53 +03:00
"summary": "Replaced the 'g1' identifier with the 'f1' identifier in the f1 function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"replace": [
{
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
},
{
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
}
]
},
2016-11-11 00:19:53 +03:00
"summary": "Replaced the 'g2' identifier with the 'f2' identifier in the f2 function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"replace": [
{
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
},
{
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
}
]
},
2016-11-11 00:19:53 +03:00
"summary": "Replaced the 'g3' identifier with the 'f3' identifier in the f3 function"
2016-11-02 04:36:43 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go"
2016-11-02 04:36:43 +03:00
],
2016-11-11 00:19:53 +03:00
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 1e4f816..3198ec6 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,6 +1,6 @@",
"-func g1(a ...*int) {}",
"-func g2(...int) {}",
"-func g3(a, ...bool) {}",
"+func f1(a ...*int) {}",
"+func f2(...int) {}",
"+func f3(a, ...bool) {}",
" func f1(a ...*int) {}",
" func f2(...int) {}",
" func f3(a, ...bool) {}"
],
2016-11-02 04:36:43 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-11 00:19:53 +03:00
"shas": "ef0f85884738262f219743f46d645a73d12f5b99..6920ba9ae6296e24e09e55ea342020521f5443b7"
2016-11-02 04:36:43 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-variadic-function-declarations-replacement-test",
2016-11-02 04:36:43 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go": [
2016-11-02 04:36:43 +03:00
{
"span": {
"replace": [
{
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
},
{
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
}
]
},
2016-11-11 00:19:53 +03:00
"summary": "Replaced the 'f1' identifier with the 'g1' identifier in the g1 function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"replace": [
{
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
},
{
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
}
]
},
2016-11-11 00:19:53 +03:00
"summary": "Replaced the 'f2' identifier with the 'g2' identifier in the g2 function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"replace": [
{
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
},
{
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
6
2016-11-02 04:36:43 +03:00
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
8
2016-11-02 04:36:43 +03:00
]
}
]
},
2016-11-11 00:19:53 +03:00
"summary": "Replaced the 'f3' identifier with the 'g3' identifier in the g3 function"
2016-11-02 04:36:43 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go"
2016-11-02 04:36:43 +03:00
],
2016-11-11 00:19:53 +03:00
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 3198ec6..1e4f816 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,6 +1,6 @@",
"-func f1(a ...*int) {}",
"-func f2(...int) {}",
"-func f3(a, ...bool) {}",
"+func g1(a ...*int) {}",
"+func g2(...int) {}",
"+func g3(a, ...bool) {}",
" func f1(a ...*int) {}",
" func f2(...int) {}",
" func f3(a, ...bool) {}"
],
2016-11-02 04:36:43 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-11 00:19:53 +03:00
"shas": "6920ba9ae6296e24e09e55ea342020521f5443b7..ffa8638d6bc29fe639cc3a3bdcb94d61b5c35336"
2016-11-02 04:36:43 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-variadic-function-declarations-delete-replacement-test",
2016-11-02 04:36:43 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go": [
2016-11-02 04:36:43 +03:00
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
22
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'g1' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
19
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'g2' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
23
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'g3' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
4,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
4,
2016-11-02 21:37:30 +03:00
22
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'f1' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
2016-11-02 04:36:43 +03:00
"start": [
2016-11-11 00:19:53 +03:00
5,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
5,
2016-11-02 21:37:30 +03:00
19
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'f2' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
2016-11-02 04:36:43 +03:00
"start": [
2016-11-11 00:19:53 +03:00
6,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
6,
2016-11-02 21:37:30 +03:00
23
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'f3' function"
},
2016-11-02 04:36:43 +03:00
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 04:36:43 +03:00
"start": [
2016-11-11 00:19:53 +03:00
4,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
4,
2016-11-02 21:37:30 +03:00
22
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'g1' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 04:36:43 +03:00
"start": [
2016-11-11 00:19:53 +03:00
5,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
5,
2016-11-02 21:37:30 +03:00
19
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'g2' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-11 00:19:53 +03:00
6,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
6,
2016-11-02 21:37:30 +03:00
23
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'g3' function"
2016-11-02 04:36:43 +03:00
}
]
2016-11-02 21:37:30 +03:00
},
"errors": {}
2016-11-02 04:36:43 +03:00
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go"
2016-11-02 04:36:43 +03:00
],
2016-11-11 00:19:53 +03:00
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 1e4f816..99d1e54 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,9 +1,6 @@",
"-func g1(a ...*int) {}",
"-func g2(...int) {}",
"-func g3(a, ...bool) {}",
"-func f1(a ...*int) {}",
"-func f2(...int) {}",
"-func f3(a, ...bool) {}",
" func f1(a ...*int) {}",
" func f2(...int) {}",
" func f3(a, ...bool) {}",
"+func g1(a ...*int) {}",
"+func g2(...int) {}",
"+func g3(a, ...bool) {}"
],
2016-11-02 04:36:43 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-11 00:19:53 +03:00
"shas": "ffa8638d6bc29fe639cc3a3bdcb94d61b5c35336..724f49666d07410a3e8ec439bb133609ed92d2aa"
2016-11-02 04:36:43 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-variadic-function-declarations-delete-test",
2016-11-02 04:36:43 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go": [
2016-11-02 04:36:43 +03:00
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
22
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'f1' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
19
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'f2' function"
},
2016-11-02 04:36:43 +03:00
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
23
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'f3' function"
2016-11-02 04:36:43 +03:00
}
]
2016-11-02 21:37:30 +03:00
},
"errors": {}
2016-11-02 04:36:43 +03:00
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go"
2016-11-02 04:36:43 +03:00
],
2016-11-11 00:19:53 +03:00
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 99d1e54..4a0a10b 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,6 +1,3 @@",
"-func f1(a ...*int) {}",
"-func f2(...int) {}",
"-func f3(a, ...bool) {}",
" func g1(a ...*int) {}",
" func g2(...int) {}",
" func g3(a, ...bool) {}"
],
2016-11-02 04:36:43 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-11 00:19:53 +03:00
"shas": "724f49666d07410a3e8ec439bb133609ed92d2aa..6d26c7b498f60c3ccc84002c96dc08b024d685c7"
2016-11-02 04:36:43 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-variadic-function-declarations-delete-rest-test",
2016-11-02 04:36:43 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go": [
2016-11-02 04:36:43 +03:00
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
1,
2016-11-02 21:37:30 +03:00
22
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'g1' function"
2016-11-02 04:36:43 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
2,
2016-11-02 21:37:30 +03:00
19
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'g2' function"
},
2016-11-02 04:36:43 +03:00
{
"span": {
"delete": {
"start": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 04:36:43 +03:00
1
],
"end": [
2016-11-11 00:19:53 +03:00
3,
2016-11-02 21:37:30 +03:00
23
2016-11-02 04:36:43 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'g3' function"
2016-11-02 04:36:43 +03:00
}
]
2016-11-02 21:37:30 +03:00
},
"errors": {}
2016-11-02 04:36:43 +03:00
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"variadic-function-declarations.go"
2016-11-02 04:36:43 +03:00
],
2016-11-11 00:19:53 +03:00
"patch": [
"diff --git a/variadic-function-declarations.go b/variadic-function-declarations.go",
"index 4a0a10b..e69de29 100644",
"--- a/variadic-function-declarations.go",
"+++ b/variadic-function-declarations.go",
"@@ -1,3 +0,0 @@",
"-func g1(a ...*int) {}",
"-func g2(...int) {}",
"-func g3(a, ...bool) {}"
],
2016-11-02 04:36:43 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-11 00:19:53 +03:00
"shas": "6d26c7b498f60c3ccc84002c96dc08b024d685c7..d533fb4333ed523cd36d6f2bb4f1c31eb61596f1"
2016-11-02 04:36:43 +03:00
}]