Changeset 1744
- Timestamp:
- 11/07/08 20:45:30 (2 months ago)
- Location:
- cobra/trunk
- Files:
-
- 1 added
- 2 modified
-
Developer/IntermediateReleaseNotes.text (modified) (1 diff)
-
Source/CobraParser.cobra (modified) (1 diff)
-
Tests/110-basics-two/800-arrays/130-array-fixed-size-syntax-error.cobra (added)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Developer/IntermediateReleaseNotes.text
r1739 r1744 212 212 213 213 * Fixed: Nilable delegates cannot be called (`foo(arg1, arg2)`). 214 215 * Fixed: The error message for fixed size array syntax (`int[10]`) is misleading and uninformative. ticket:27 -
cobra/trunk/Source/CobraParser.cobra
r1736 r1744 3246 3246 if bracket 3247 3247 if .peek.which=='INTEGER_LIT' 3248 .throwError(' Explicit array sizes are not currently supported.')3248 .throwError('The size of the array is not part of its type. Specify the size when creating the array such as: [t.name]\[]([.peek.text]).') 3249 3249 .expect('RBRACKET') 3250 3250 t = ArrayTypeIdentifier(bracket, t)
