elvish/pkg/eval/evaltest
Qi Xiao b77a052e7e pkg/eval: Make Exception an interface.
This change is a preparation step for refining all *Op types to return Exception
as the error.

Keeping Exception as a struct type will make such a change error-prone, since
a (*Exception)(nil) != error(nil), so if an *Op returns a nil *Exception, it
is not nil if the return value is stored in an error-typed variable.
2021-01-08 00:56:45 +00:00
..
evaltest.go pkg/eval: Make Exception an interface. 2021-01-08 00:56:45 +00:00
matchers.go pkg/eval: Make Exception an interface. 2021-01-08 00:56:45 +00:00