fixes #699: brace-style does not check function expressions

Fixes #699.