GNOME Bugzilla – Bug 398303
Released source code is broken
Last modified: 2007-02-07 18:28:12 UTC
Please describe the problem: The released source code - beagle-0.2.14.tar.gz can not be compiled due to incorrect source code. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Could you be more specific like what error you get ?
./HtmlAgilityPack/HtmlDocument.cs(331,8): error CS0534: `HtmlAgilityPack.DummyStreamAsArray' does not implement inherited abstract member `HtmlAgilityPack.StreamAsArray.this[int].get' After fixing the problematic bit of code I got one more error in the OpenOffice documents filter. May be by accident you've released the wrong revision of the source code or something?
I can see that the source code has public new char this[int index] { ... } instead of public override char this[int index] { ... } But it builds for me. How come it builds for me but does not for you ? I think, this should be a compile time error, at least a warning. I also do not get any error for OpenOffice filter. What error are you seeing ?
I checked a sample program against current mcs/gmcs http://pastebin.ca/321647 Someone on #mono reported that his mcs from mono trunk does the right thing and throws correct error while my mcs (1.2.2) does not work as expected. So, this discrepancy is due to a mono bug. I checked in the fix for HtmlDocument.cs in rev 3284. Let me know the OpenOffice problem and I will fix that too. Thanks.
OpenOffice one is fixed in r3399.