Showing 1 of 4 files from the diff.

@@ -99,6 +99,23 @@
Loading
99 99
100 100
	switch node.Operator.Token.Val {
101 101
	case "+":
102 +
		if left.IsList() {
103 +
			if !right.IsList() {
104 +
				return AsValue(errors.Wrapf(right, `Unable to concatenate list to %s`, node.Right))
105 +
			}
106 +
107 +
			v := &Value{Val: reflect.ValueOf([]interface{}{})}
108 +
109 +
			for ix := 0; ix < left.getResolvedValue().Len(); ix ++ {
110 +
				v.Val = reflect.Append(v.Val, left.getResolvedValue().Index(ix))
111 +
			}
112 +
113 +
			for ix := 0; ix < right.getResolvedValue().Len(); ix ++ {
114 +
				v.Val = reflect.Append(v.Val, right.getResolvedValue().Index(ix))
115 +
			}
116 +
117 +
			return v
118 +
		}
102 119
		if left.IsFloat() || right.IsFloat() {
103 120
			// Result will be a float
104 121
			return AsValue(left.Float() + right.Float())
Files Coverage
builtins 65.56%
exec 73.26%
ext 66.67%
nodes 16.13%
parser 77.04%
tokens 84.97%
utils 92.73%
config/config.go 91.67%
environment.go 40.00%
gonja.go 0.00%
loaders/filesystem.go 47.54%
Project Totals (67 files) 69.59%
32.1
TRAVIS_OS_NAME=windows
1.12=.12
32.2
TRAVIS_OS_NAME=linux
1.12=.12

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading