delve/pkg/terminal/starbind
Arvid Fahlström Myrman 2abf517c21
terminal/starbind: fix starlark conversion of named consts (#3802)
* terminal/starbind: fix starlark conversion of named consts

If a value of a derived integer type matches a named constant,
Delve will wrap the string representation of the value with
the name of the constant, causing ParseInt/ParseUint to fail.
This change removes the wrapping before attempting to parse
the value before sending it to Starlark.

* terminal: add starlark tests for enums
2024-09-03 10:36:42 -07:00
..
conv_test.go pkg/terminal: remove deprecated starlark global options (#3722) 2024-05-20 08:35:30 -07:00
conv.go terminal/starbind: fix starlark conversion of named consts (#3802) 2024-09-03 10:36:42 -07:00
repl.go *: replace fmt.Errorf with errors.New (#3752) 2024-06-20 21:50:18 +02:00
starlark_mapping.go pkg/terminal,service/debugger: Support to add a new suboption --follow-calls to trace subcommand (#3594) 2024-06-12 12:35:48 -07:00
starlark.go *: replace fmt.Errorf with errors.New (#3752) 2024-06-20 21:50:18 +02:00