Auto-update cmakelists on protocol sync, update to 1.59.0 (#93)

* CMake: Fix target options

* update CMake package version after protocol sync

* Update protocol to 1.59.0

* protocol_gen: change OneOf to `object` type

The DAP spec introduces ambiguities with its particular uses of OneOf,
which means that we can't deserialize the variants generated from it.
Just set OneOf to an `object` type, like godap does.
This commit is contained in:
nikitalita
2023-02-13 14:55:48 -08:00
committed by GitHub
parent 0a340c6d71
commit d9041149a8
7 changed files with 100 additions and 81 deletions

View File

@@ -15,7 +15,7 @@
// Generated with protocol_gen.go -- do not edit this file.
// go run scripts/protocol_gen/protocol_gen.go
//
// DAP version 1.58.0
// DAP version 1.59.0
#include "dap/protocol.h"

View File

@@ -15,7 +15,7 @@
// Generated with protocol_gen.go -- do not edit this file.
// go run scripts/protocol_gen/protocol_gen.go
//
// DAP version 1.58.0
// DAP version 1.59.0
#include "dap/protocol.h"
@@ -54,6 +54,7 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(ContinueRequest,
DAP_IMPLEMENT_STRUCT_TYPEINFO(DataBreakpointInfoRequest,
"dataBreakpointInfo",
DAP_FIELD(frameId, "frameId"),
DAP_FIELD(name, "name"),
DAP_FIELD(variablesReference,
"variablesReference"));

View File

@@ -15,7 +15,7 @@
// Generated with protocol_gen.go -- do not edit this file.
// go run scripts/protocol_gen/protocol_gen.go
//
// DAP version 1.58.0
// DAP version 1.59.0
#include "dap/protocol.h"

View File

@@ -15,7 +15,7 @@
// Generated with protocol_gen.go -- do not edit this file.
// go run scripts/protocol_gen/protocol_gen.go
//
// DAP version 1.58.0
// DAP version 1.59.0
#include "dap/protocol.h"
@@ -202,15 +202,6 @@ DAP_IMPLEMENT_STRUCT_TYPEINFO(Module,
DAP_FIELD(symbolStatus, "symbolStatus"),
DAP_FIELD(version, "version"));
DAP_IMPLEMENT_STRUCT_TYPEINFO(LaunchRequestArguments,
"",
DAP_FIELD(restart, "__restart"),
DAP_FIELD(noDebug, "noDebug"));
DAP_IMPLEMENT_STRUCT_TYPEINFO(AttachRequestArguments,
"",
DAP_FIELD(restart, "__restart"));
DAP_IMPLEMENT_STRUCT_TYPEINFO(Scope,
"",
DAP_FIELD(column, "column"),