mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-17 14:02:31 +00:00
Update dependencies and build to go1.22 (#2113)
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config
This commit is contained in:
2
vendor/github.com/d5/tengo/v2/parser/expr.go
generated
vendored
2
vendor/github.com/d5/tengo/v2/parser/expr.go
generated
vendored
@@ -351,7 +351,7 @@ func (e *ImportExpr) End() Pos {
|
||||
}
|
||||
|
||||
func (e *ImportExpr) String() string {
|
||||
return `import("` + e.ModuleName + `")"`
|
||||
return `import("` + e.ModuleName + `")`
|
||||
}
|
||||
|
||||
// IndexExpr represents an index expression.
|
||||
|
10
vendor/github.com/d5/tengo/v2/parser/opcodes.go
generated
vendored
10
vendor/github.com/d5/tengo/v2/parser/opcodes.go
generated
vendored
@@ -106,10 +106,10 @@ var OpcodeOperands = [...][]int{
|
||||
OpNotEqual: {},
|
||||
OpMinus: {},
|
||||
OpLNot: {},
|
||||
OpJumpFalsy: {2},
|
||||
OpAndJump: {2},
|
||||
OpOrJump: {2},
|
||||
OpJump: {2},
|
||||
OpJumpFalsy: {4},
|
||||
OpAndJump: {4},
|
||||
OpOrJump: {4},
|
||||
OpJump: {4},
|
||||
OpNull: {},
|
||||
OpGetGlobal: {2},
|
||||
OpSetGlobal: {2},
|
||||
@@ -149,6 +149,8 @@ func ReadOperands(numOperands []int, ins []byte) (operands []int, offset int) {
|
||||
operands = append(operands, int(ins[offset]))
|
||||
case 2:
|
||||
operands = append(operands, int(ins[offset+1])|int(ins[offset])<<8)
|
||||
case 4:
|
||||
operands = append(operands, int(ins[offset+3])|int(ins[offset+2])<<8|int(ins[offset+1])<<16|int(ins[offset])<<24)
|
||||
}
|
||||
offset += width
|
||||
}
|
||||
|
Reference in New Issue
Block a user