Skip to content

Commit 720be35

Browse files
committed
update vendored copy of gomacro; update kernel.go for API change in gomacro/fast/Interp.RunExpr()
1 parent 3ddbe1f commit 720be35

File tree

377 files changed

+74327
-33752
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+74327
-33752
lines changed

gophernotes

34.2 MB
Binary file not shown.

kernel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ func doEval(ir *interp.Interp, code string) (val []interface{}, err error) {
437437
compiledSrc := ir.CompileAst(srcAst)
438438

439439
// Evaluate the code.
440-
results := base.PackValues(ir.RunExpr(compiledSrc))
440+
results, _ := ir.RunExpr(compiledSrc)
441441

442442
// If the source ends with an expression, then the result of the execution is the value of the expression. In the
443443
// event that all return values are nil, the result is also nil.

vendor/github.com/cosmos72/gomacro/.gitignore

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/cosmos72/gomacro/LICENSE

Lines changed: 367 additions & 159 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/cosmos72/gomacro/README.md

Lines changed: 210 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/cosmos72/gomacro/example/arith.gomacro renamed to vendor/github.com/cosmos72/gomacro/_example/arith.gomacro

File renamed without changes.

vendor/github.com/cosmos72/gomacro/example/bag.go.easyjson renamed to vendor/github.com/cosmos72/gomacro/_example/bag.go.easyjson

File renamed without changes.

vendor/github.com/cosmos72/gomacro/example/bag.go.save renamed to vendor/github.com/cosmos72/gomacro/_example/bag.go.save

File renamed without changes.

vendor/github.com/cosmos72/gomacro/example/channel.gomacro renamed to vendor/github.com/cosmos72/gomacro/_example/channel.gomacro

File renamed without changes.

vendor/github.com/cosmos72/gomacro/example/collatz.gomacro renamed to vendor/github.com/cosmos72/gomacro/_example/collatz.gomacro

File renamed without changes.

0 commit comments

Comments
 (0)