1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-26 21:14:45 +01:00
liquid/values
nsf c32908a4f3 Returning proper error type causes less panics during expression eval.
When user-defined function is called, it does convert all the arguments using
MustConvert, which panics on error with an error. However 'func (e expression)
Evaluate(ctx Context)' from sub package "expressions" catches those panics and
converts some of them to errors. Raw errors returned from strconv functions
are "repanicked", but proper error types such as values.TypeError are not.
Hence we should use it here.
2018-05-31 23:49:25 +05:00
..
arrays.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
call_test.go Properly handle variadic functions. 2018-05-30 19:44:29 +05:00
call.go Properly handle variadic functions. 2018-05-30 19:44:29 +05:00
compare_test.go Nil pointers are equal, even if different types 2017-08-09 08:42:42 -04:00
compare.go Nil pointers are equal, even if different types 2017-08-09 08:42:42 -04:00
convert_test.go Returning proper error type causes less panics during expression eval. 2018-05-31 23:49:25 +05:00
convert.go Returning proper error type causes less panics during expression eval. 2018-05-31 23:49:25 +05:00
docs.go Package docs 2017-08-08 16:42:32 -04:00
drop_test.go Race test, benchmarks, for drop resolution 2017-08-03 15:20:56 +02:00
drop.go Actually cache the drop resolution 2017-08-03 15:20:56 +02:00
evaluator_test.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
mapslicevalue.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
parsedate_test.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
parsedate.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
predicates_test.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
predicates.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
range.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
sort.go Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
structvalue_test.go Fix struct PropertyValue attempting to use an invalid pointer 2017-08-01 11:27:32 +10:00
structvalue.go variable names 2017-08-23 15:56:18 -04:00
value_test.go map[unhashable] returns nil instead of panic 2017-08-23 16:03:46 -04:00
value.go map[unhashable] returns nil instead of panic 2017-08-23 16:03:46 -04:00