Parser assumes attributes do not appear in a function

IDE: Visual Studio X/Fire
Version: 10.0.0.2411 (develop)
Target (If relevant): OSX
Description:
The parser fails to parse an attribute within a function.
This could occur for a nested function or type with an attribute.

Expected Behavior:
Compiles or non-parser error.
Actual Behavior:
“E: closing bracket expected, got attribute [<file> (<line>)]”
Steps:

func foo() { // Error Here
  @inline(__always)
  func bar() {}
}

Thanks, logged as bugs://82752

bugs://82752 got closed with status fixed.