forked from go-delve/delve
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proc: fuse evalToplevelTypeCast and evalTypeCast (go-delve#3057)
We allowed integer and pointer type casts everywhere but type casts to string, []byte and []rune only at toplevel. Fuse evalToplevelTypeCast and evalTypeCast and allow both kinds everywhere. There are multiple other ways to create variables than don't reference user memory anyway (which wasn't the case back when evalToplevelTypeCast was implemented). Fixes go-delve#1423
- Loading branch information
Showing
2 changed files
with
126 additions
and
136 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