Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Nov 3, 2022
1 parent a646bd9 commit 07e6b41
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vm/runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ func Negate(i interface{}) interface{} {
return -v
case float64:
return -v

case int:
return -v
case int8:
Expand All @@ -271,7 +270,6 @@ func Negate(i interface{}) interface{} {
return -v
case int64:
return -v

case uint:
return -v
case uint8:
Expand All @@ -282,7 +280,6 @@ func Negate(i interface{}) interface{} {
return -v
case uint64:
return -v

default:
panic(fmt.Sprintf("invalid operation: - %T", v))
}
Expand Down

0 comments on commit 07e6b41

Please sign in to comment.