File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
language-server/src/dotty/tools/languageserver/worksheet Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,25 @@ package dotty.tools.languageserver.worksheet
3
3
import java .net .URI
4
4
5
5
/** The parameter for the `worksheet/exec` request. */
6
- case class WorksheetExecParams (uri : URI )
6
+ case class WorksheetExecParams (uri : URI ) {
7
+ // Used for deserialization
8
+ // see https://github.com/lampepfl/dotty/pull/5102#discussion_r222055355
9
+ def this () = this (null )
10
+ }
7
11
8
12
/** The response to a `worksheet/exec` request. */
9
- case class WorksheetExecResponse (success : Boolean )
13
+ case class WorksheetExecResponse (success : Boolean ) {
14
+ // Used for deserialization
15
+ // see https://github.com/lampepfl/dotty/pull/5102#discussion_r222055355
16
+ def this () = this (false )
17
+ }
10
18
11
19
/**
12
20
* A notification that tells the client that a line of a worksheet
13
21
* produced the specified output.
14
22
*/
15
- case class WorksheetExecOutput (uri : URI , line : Int , content : String )
23
+ case class WorksheetExecOutput (uri : URI , line : Int , content : String ) {
24
+ // Used for deserialization
25
+ // see https://github.com/lampepfl/dotty/pull/5102#discussion_r222055355
26
+ def this () = this (null , 0 , null )
27
+ }
You can’t perform that action at this time.
0 commit comments