Issue 12378 - Compiler accepts any syntactically-valid code inside double-nested map predicate

https://d.puremagic.com/issues/show_bug.cgi?id=12378