getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner
()
| 1025 | |
| 1026 | // getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner |
| 1027 | func (e *Env) getCheckerOrError() (*checker.Env, error) { |
| 1028 | e.chkMutex.Lock() |
| 1029 | defer e.chkMutex.Unlock() |
| 1030 | return e.chk, e.chkErr |
| 1031 | } |
| 1032 | |
| 1033 | // computeUnknownVars determines a set of missing variables based on the input activation and the |
| 1034 | // environment's configured declaration set. |
no outgoing calls
no test coverage detected