This is on purpose - in order to see syntax checking in the editor. Consider adding an comment here so it's clear why curly brace is missing.