Wrong code analysis about type alias

已回答

I use `CLion 2018.1.2. Build #CL-181.4668.70, built on April 25, 2018`.

In the following code, code analysis make wrong result.

 

This say type-mismatch: `Type A:pass and bool(int, int) are not compatible`.

But compilation is successful with no error.

Is it bug or config miss?

 

 

0

Hi! We have the related issues in our tracker: https://youtrack.jetbrains.com/issue/CPP-12919, https://youtrack.jetbrains.com/issue/CPP-12535. Should be fixed in the near future, please follow the issues to get updates.

0

请先登录再写评论。