Type named "Function" breaks CLion
CLion seems to contain a bug that is somehow related to a type named "Function", which it claims it cannot resolve ("Can't resolve variable 'Function'") at some locations. After that, everything basically just breaks.


Nothing works for these files anymore really (refactoring, lots of useless warnings about unimplemented methods etc.)
The project’s source can be found here: https://github.com/emojicode/emojicode (Examples are from Class.cpp and CallCodeGenerator.cpp) (The project itself compiles fine, this is definitely something with CLion.)
I haven't been able to reproduce this with a smaller code base.
Is there any fix for this?
Please sign in to leave a comment.