Changeset 1585
- Timestamp:
- 08/19/08 06:14:58 (3 months ago)
- Location:
- cobra/trunk
- Files:
-
- 3 modified
-
Developer/IntermediateReleaseNotes.text (modified) (1 diff)
-
Source/CobraParser.cobra (modified) (1 diff)
-
Tests/120-classes/804-test.cobra (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Developer/IntermediateReleaseNotes.text
r1581 r1585 103 103 104 104 * Fixed: Some bitwise operations with integer literals of 16 or 8 bits produce invalid compilation errors. 105 106 * Fixed: Putting a comment after a doc string, but before a `test` section causes an invalid compilation error. -
cobra/trunk/Source/CobraParser.cobra
r1584 r1585 1682 1682 codePartContainingTest = codePart to BoxMember # TODO: figure out better typing for this assignement and the method sig of this method 1683 1683 try 1684 while .peek.which in 'EOL', .grab 1684 1685 if .peek.which in ['BODY', 'TEST', 'REQUIRE', 'ENSURE', 'OR', 'AND'] 1685 1686 # sectional -
cobra/trunk/Tests/120-classes/804-test.cobra
r1181 r1585 1 2 1 class BlindWatchMaker1 3 2 … … 24 23 sb.append(c) 25 24 return sb.toString 25 26 def foo as String 27 """ 28 """ 29 # test having comments after the doc string but before the 'test' section. 30 test 31 assert true 32 body 33 return ''
