getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner
()
| 935 | |
| 936 | // getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner |
| 937 | func (e *Env) getCheckerOrError() (*checker.Env, error) { |
| 938 | e.chkMutex.Lock() |
| 939 | defer e.chkMutex.Unlock() |
| 940 | return e.chk, e.chkErr |
| 941 | } |
| 942 | |
| 943 | // computeUnknownVars determines a set of missing variables based on the input activation and the |
| 944 | // environment's configured declaration set. |
no outgoing calls
no test coverage detected