MakeSemaContext initializes a simple SemaContext suitable for "lightweight" type checking such as the one performed for default expressions. Note: if queries with placeholders are going to be used, SemaContext.Placeholders.Init must be called separately.
()
| 199 | // Note: if queries with placeholders are going to be used, |
| 200 | // SemaContext.Placeholders.Init must be called separately. |
| 201 | func MakeSemaContext() SemaContext { |
| 202 | return SemaContext{} |
| 203 | } |
| 204 | |
| 205 | // isUnresolvedPlaceholder provides a nil-safe method to determine whether expr is an |
| 206 | // unresolved placeholder. |
no outgoing calls
no test coverage detected