You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: got duplicate identifier Token
type Token interface{}
^
which seems to me to be undesired behavior.
Up until now the only workaround I've been able to find is to rename the above interface type, e.g. to JwtToken. Unfortunately, this isn't really an option in my case, as I'm working with annotated Go files and the Token type is imported from an external library. Therefore, changing the name of the stubbed type results in compilation errors and renders the annotated code unexecutable.
The text was updated successfully, but these errors were encountered:
The following code
results in the following error in v23.02
which seems to me to be undesired behavior.
Up until now the only workaround I've been able to find is to rename the above interface type, e.g. to
JwtToken
. Unfortunately, this isn't really an option in my case, as I'm working with annotated Go files and theToken
type is imported from an external library. Therefore, changing the name of the stubbed type results in compilation errors and renders the annotated code unexecutable.The text was updated successfully, but these errors were encountered: