douhao7889 2017-05-16 19:53
浏览 43
已采纳

defer语句在哪里实现?

I would like to know how and why the defer-Statement works and where it is implemented(in Compiler Source Code).

I found the package about parsing the defer-Statement and building it in the syntax-tree

But I'm interestetd in the actual exection of defer at runtime. My guess is, that it's somewhere inside the "src/runtime"

  • 写回答

1条回答 默认 最新

报告相同问题?