This website requires JavaScript.
Explore
Help
Sign in
TrueCloudLab
/
neoneo-go
Watch
7
Star
0
Fork
You've already forked neoneo-go
2
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
794658b54c
neoneo-go
/
pkg
/
compiler
/
testdata
/
util
/
equals.go
7 lines
101 B
Go
Raw
Normal View
History
Unescape
Escape
compiler: process interop together with package Closes #913. Provide package info in the funcScope to check if function is defined insided an interop package. As a good side-effect bytecode for builtins from `util` is no longer emitted. Related #941.
2020-06-08 11:16:41 +00:00
package
util
// Equals is a mirror of `Equals` builtin.
*: replace `interface{}` with `any` keyword Everywhere including examples, external interop APIs, bindings generators code and in other valuable places. A couple of `interface{}` usages are intentionally left in the CHANGELOG.md, documentation and tests.
2023-04-03 10:34:24 +00:00
func
Equals
(
a
,
b
any
)
bool
{
compiler: process interop together with package Closes #913. Provide package info in the funcScope to check if function is defined insided an interop package. As a good side-effect bytecode for builtins from `util` is no longer emitted. Related #941.
2020-06-08 11:16:41 +00:00
return
true
}
Reference in a new issue
Copy permalink