-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
Clang seems quite confused by the chained properties DSL. Today I found that some of my matchers were missing trailing parens, effectively returning but not executing the matcher. The specific case was .beNil vs .beNil(). The former compiles without any warning and appears to "pass", while in fact doing nothing at all.
This shouldn't happen. It might be a Clang bug since Clang changes it's mind based on the precedence.

I tried enabling some additional Clang flags to no avail. Ideally Expecta shouldn't go quietly into the night with all of your tests running as no-ops...
Metadata
Metadata
Assignees
Labels
No labels