Fixes #3325: implicit indendation error messages

Fixes #3325. Fixed both implicit and explicit cases.