Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repl: support literal eval #268

Merged
merged 1 commit into from
Mar 11, 2024
Merged

repl: support literal eval #268

merged 1 commit into from
Mar 11, 2024

Conversation

visualfc
Copy link
Member

No description provided.

@@ -77,8 +96,8 @@ func NewRepl(ctx *Context) *Repl {
}
ctx.SetEvalMode(true)
RegisterCustomBuiltin("__igop_repl_used__", func(v interface{}) {})
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[golangci-lint] Error return value is not checked (errcheck)

If you have any questions about this comment, feel free to raise an issue here:

@@ -77,8 +96,8 @@ func NewRepl(ctx *Context) *Repl {
}
ctx.SetEvalMode(true)
RegisterCustomBuiltin("__igop_repl_used__", func(v interface{}) {})
RegisterCustomBuiltin("__igop_repl_dump__", func(v ...interface{}) {
r.lastDump = toDump(v)
RegisterCustomBuiltin("__igop_repl_eval__", func(v ...interface{}) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[golangci-lint] Error return value is not checked (errcheck)

If you have any questions about this comment, feel free to raise an issue here:

@visualfc visualfc merged commit 05e3440 into goplus:main Mar 11, 2024
15 checks passed
@visualfc visualfc deleted the repl branch March 11, 2024 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant