getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner
()
| 1147 | |
| 1148 | // getCheckerOrError gets the checker.Env or error state in a concurrency-safe manner |
| 1149 | func (e *Env) getCheckerOrError() (*checker.Env, error) { |
| 1150 | e.chkMutex.Lock() |
| 1151 | defer e.chkMutex.Unlock() |
| 1152 | return e.chk, e.chkErr |
| 1153 | } |
| 1154 | |
| 1155 | // computeUnknownVars determines a set of missing variables based on the input activation and the |
| 1156 | // environment's configured declaration set. |
no outgoing calls
no test coverage detected