(FunctionCall)
| 282 | } |
| 283 | |
| 284 | func (f *classFuncObject) Call(FunctionCall) Value { |
| 285 | panic(f.val.runtime.NewTypeError("Class constructor cannot be invoked without 'new'")) |
| 286 | } |
| 287 | |
| 288 | func (f *classFuncObject) assertCallable() (func(FunctionCall) Value, bool) { |
| 289 | return f.Call, true |
no test coverage detected