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
33import java .net .URI
44
55/** 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+ }
711
812/** 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+ }
1018
1119/**
1220 * A notification that tells the client that a line of a worksheet
1321 * produced the specified output.
1422 */
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