New Source tree regressions
Posted: Mon Oct 26, 2009 11:53 pm
Pulled a src tree update yesterday since previous pull on 10/24 (2216) .
Rebuild gives the following new warnings
A testify run now quits on Tests/100-basics/322-enums-errors.cobra with Require exception
Backing out changeset 2217 removes one of the warnings and the crash
Whatever the bug alluded to in the changeset was (not ticketed) the new test exercises it but the fix doesnt seem to correct it .
The second warning is from from a change in DocGenerator (changeset 2218) removing a comment about the warning and a cast that
suppressed it.
Rerun tests - get new Test failure on test 691 - 100-lowercase-class-name.cobra
This test was modded changeset 2223 (probably from Forum discussion around wx.NET) to add lowercase little namespace and tests using it.
Rebuild gives the following new warnings
- Code: Select all
Boxes.cobra(548): warning: The expression (of type "IBoxMember") is never of type "IType".
DocGenerator.cobra(281): warning: The expression (of type "IBoxMember") is never of type "IType".
Compilation succeeded - 2 warnings
A testify run now quits on Tests/100-basics/322-enums-errors.cobra with Require exception
- Code: Select all
(60) 322-enums-errors.cobra
Unhandled Exception: Cobra.Lang_ert_068ce873fbcedb5be72713f74c2375eb.RequireException:
sourceSite = C:\home\hops\src\cobra\wkspace\Source\Enums.cobra:80 in EnumDecl.isDescendantOf for object EnumDecl-sh(805541, name=MyEnum, didBindInh=false, didStartBindInt=true, didBindInt=true, didStartBindImp=true, didBindImp=true, token=Token(ENUM, 'enum', 'enum', ln 3, col 2, 322-enums-errors.cobra), 805541)
info = nil
this = EnumDecl-sh(805541, name=MyEnum, didBindInh=false, didStartBindInt=true, didBindInt=true, didStartBindImp=true, didBindImp=true, token=Token(ENUM,
'enum', 'enum', ln 3, col 2, 322-enums-errors.cobra), 805541)
.nativeType = nil
at EnumDecl.IsDescendantOf(IType type) in c:\home\hops\src\cobra\wkspace\Source\Enums.cobra:line 275
...
Backing out changeset 2217 removes one of the warnings and the crash
Whatever the bug alluded to in the changeset was (not ticketed) the new test exercises it but the fix doesnt seem to correct it .
The second warning is from from a change in DocGenerator (changeset 2218) removing a comment about the warning and a cast that
suppressed it.
Rerun tests - get new Test failure on test 691 - 100-lowercase-class-name.cobra
- Code: Select all
...
RUN 100-lowercase-class-name.cobra
C:\home\hops\src\cobra\wkspace1\Tests\720-libraries\400-other\100-lowercase-class-name.cobra
Test #691
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
100-lowercase-class-name.cobra(6): error: Cannot find namespace "little".
Compilation failed - 1 error, 0 warnings
This test was modded changeset 2223 (probably from Forum discussion around wx.NET) to add lowercase little namespace and tests using it.