This website requires JavaScript.
Explore
Help
Sign in
TrueCloudLab
/
neo-go
Watch
8
Star
0
Fork
You've already forked neo-go
0
mirror of
https://github.com/nspcc-dev/neo-go.git
synced
2024-12-01 23:45:50 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
6b21ad9922
neo-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