xgo/objects
Mike Bazuin fae85000cf Convert returns second argument Object as it self in case of failure of conversion of first argument
objects/builtin_convert.go
- Changed type check of in case of args[0] failure to always return
  args[1] if set

runtime/vm_builtin_test.go:
- Changed tests according to changes in objects/builtin_convert.go
2019-01-18 23:29:04 +01:00
..
array.go
array_iterator.go
array_test.go
bool.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
break.go
builtin_append.go
builtin_convert.go Convert returns second argument Object as it self in case of failure of conversion of first argument 2019-01-18 23:29:04 +01:00
builtin_copy.go
builtin_function.go
builtin_len.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
builtin_print.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
builtin_type_checks.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
builtins.go Compile can take custom stdlibs 2019-01-18 09:19:45 -08:00
bytes.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
callable.go
callable_func.go
char.go
closure.go
compiled_function.go
compiled_module.go
continue.go
conversion.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
error.go
error_test.go
errors.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
float.go
float_test.go
immutable_map.go add more comments 2019-01-18 01:57:14 -08:00
immutable_map_iterator.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
int.go
int_test.go
iterator.go
map.go
map_iterator.go
object.go
object_test.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00
objects.go
objects_test.go
return_value.go
string.go
string_iterator.go
string_test.go
undefined.go
user_function.go add os File functions; add Bytes type 2019-01-18 01:43:46 -08:00