Only variables can be passed by reference

前端 未结 8 1263
小鲜肉
小鲜肉 2020-12-11 00:59

I had the bright idea of using a custom error handler which led me down a rabbit hole.

Following code gives (with and without custom error handler): Fatal er

8条回答
  •  余生分开走
    2020-12-11 01:20

    I just got this error chaining methods.

    doSomething()->andThis()
    

    I had:

    doSomething()-andThis() // missing `>` character
    

    My scenario was a little more complex, but it stemmed from the accidental subtraction operation.

提交回复
热议问题