-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BCE0004 IEntity in booish.gui - both are *SAME* #107
Comments
|
So... modifying the import to
...made a change, but all those extras (or at least booish.gui and those dependent on it) are way tooooooo old referencing SD1.1 and some older Boo version... all broken :( Why is it still there? |
The compiler is including itself and its dependencies as a reference by default, so you have two versions of IEntity: the one in the compiler, and the one in the version of Boo.Lang.Compiler that the project is referencing. You can switch this off with the -nostdlib compiler switch, (or the project option that says to not reference mscorlib, in #Develop,) which causes the Boo compiler to not add any standard references. |
Sorry, I am newby here (don't now English, write from my fingers and my tooth pain) and newby in .NET programming. |
@Andykid69 I'm not sure what you mean by that. |
I want to write small home programm. After (....) I decide (or deciding...) try that in boo |
When I compile boox |
@Andykid69 As I pointed out above, you need to make sure the compiler doesn't add itself to your references when you build, by passing |
I am unable to build
extras/booish.gui
and the error is complete nonsense:[booc] b:\tests\boo\extras\booish.gui\src\CodeCompletionData.boo(78,38): BCE0004: Ambiguous reference 'IEntity': Boo.Lang.Compiler.TypeSystem.IEntity, Boo.Lang.Compiler.TypeSystem.IEntity.
How can I have ambiguity between two same things? There are more identical errors.
How it started: I have downloaded current boo-master, extracted and wanted to run booish.exe from the bin directory - ERROR! (Win8.1 CZ)
So, downloaded NAnt, altered my system PATH variable and typed
nant test
. All went good. I wanted to try something,booish.gui
looked good. It took me some time to find out that I need old SharpDevelop 3.x (4.x and 5.x use AvalonEdit) and createbuild.properties
to setboo.profile=build
. But now I am getting these strange errors. What is going on?BTW: ILSpy found exactly one
interface IEntity
in all dlls in build directory of booish.gui.The text was updated successfully, but these errors were encountered: