Skip to content

Commit a557490

Browse files
committed
fix: remove unused write method
1 parent 675f100 commit a557490

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

vm/runtime/runtime.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ import (
1010
"github.com/expr-lang/expr/internal/deref"
1111
)
1212

13-
// Proxy is an interface that allows intercepting object property read and write operations.
13+
// Proxy is an interface that allows intercepting object property access.
1414
type Proxy interface {
1515
// GetProperty returns the value of the property with the given key.
1616
GetProperty(key any) (any, bool)
17-
18-
// SetProperty sets the value of the property with the given key.
19-
SetProperty(key, value any)
2017
}
2118

2219
func Fetch(from, i any) any {

0 commit comments

Comments
 (0)