-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
836 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...parser/src/test/resources/expressions/object-constructor/object_constructor_source_10.bal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
public function main() { | ||
foo(object { | ||
int i = 1; | ||
}); | ||
int i = 1; | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
.../modules/langserver-core/src/test/resources/definition/expected/project/defProject15.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"source": { | ||
"file": "projectls/defmodsource6.bal" | ||
}, | ||
"position": { | ||
"line": 3, | ||
"character": 19 | ||
}, | ||
"result": [ | ||
{ | ||
"range": { | ||
"start": { | ||
"line": 9, | ||
"character": 12 | ||
}, | ||
"end": { | ||
"line": 9, | ||
"character": 17 | ||
} | ||
}, | ||
"uri": "projectls/modules/lsmod3/lsmod3.bal" | ||
} | ||
] | ||
} |
6 changes: 6 additions & 0 deletions
6
...modules/langserver-core/src/test/resources/definition/sources/projectls/defmodsource6.bal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import projectls.lsmod3; | ||
|
||
function foo() { | ||
table<lsmod3:Human> tHuman = table [{id: 1, name: "Jane"}]; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
...ore/src/test/resources/rename/expected/project/rename_table_row_type_and_stream_type.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"source": { | ||
"file": "main.bal" | ||
}, | ||
"position": { | ||
"line": 19, | ||
"character": 23 | ||
}, | ||
"prepareRename": { | ||
"valid": true | ||
}, | ||
"result": { | ||
"changes": { | ||
"modules/module2/types.bal": [{ | ||
"range": { | ||
"start": { | ||
"line": 2, | ||
"character": 12 | ||
}, | ||
"end": { | ||
"line": 2, | ||
"character": 17 | ||
} | ||
}, | ||
"newText": "Student" | ||
}], | ||
"main.bal": [{ | ||
"range": { | ||
"start": { | ||
"line": 18, | ||
"character": 19 | ||
}, | ||
"end": { | ||
"line": 18, | ||
"character": 24 | ||
} | ||
}, | ||
"newText": "Student" | ||
}, { | ||
"range": { | ||
"start": { | ||
"line": 19, | ||
"character": 18 | ||
}, | ||
"end": { | ||
"line": 19, | ||
"character": 23 | ||
} | ||
}, | ||
"newText": "Student" | ||
}] | ||
} | ||
} | ||
} |
Oops, something went wrong.