www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - I don't even..

reply "Mineko" <uminekorox gmail.com> writes:
I'm completely lost on this one, here's the error message:

Core plugin failed to compile:
res/plugins/shared/shared.d(31): Error: Identifier expected 
following package
res/plugins/shared/api.d(31): Error: Identifier expected 
following package
res/plugins/core/settings.d(57): Error: identifier expected 
following package
res/plugins/core/settings.d(57): Error: ';' expected
res/plugins/core/settings.d(57): Error: identifier expected 
following '.' instead of 'shared'
res/plugins/core/settings.d(57): Error: no identifier for 
declarator
res/plugins/core/settings.d(57): Error: semicolon expected, not 
'shared'
res/plugins/core/settings.d(57): Error: no identifier for 
declarator Base

Relevant files are here:
https://github.com/MinekoRox/Breaker-Engine/blob/master/src/breaker/utility/core.d
https://github.com/MinekoRox/Breaker-Engine/tree/master/res/plugins

Sorry for being so vague, but as the title says.. I don't even..
Jan 30 2014
parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
On Friday, 31 January 2014 at 02:15:08 UTC, Mineko wrote:
 I'm completely lost on this one, here's the error message:
I think it is because "shared" is a keyword in D, so your module name module whatever.shared.shared; is triggering the problem. If you rename the package and modules from sharedto something else you should be ok. (You don't necessarily have to change the filename, just the module declaration and any imports of it. But it is probably easier to rename the file and folder too.)
Jan 30 2014
parent reply "Mineko" <uminekorox gmail.com> writes:
On Friday, 31 January 2014 at 02:26:51 UTC, Adam D. Ruppe wrote:
 On Friday, 31 January 2014 at 02:15:08 UTC, Mineko wrote:
 I'm completely lost on this one, here's the error message:
I think it is because "shared" is a keyword in D, so your module name module whatever.shared.shared; is triggering the problem. If you rename the package and modules from sharedto something else you should be ok. (You don't necessarily have to change the filename, just the module declaration and any imports of it. But it is probably easier to rename the file and folder too.)
Had a feeling.. Alright, thanks.
Jan 30 2014
parent reply "Meta" <jared771 gmail.com> writes:
On Friday, 31 January 2014 at 02:37:02 UTC, Mineko wrote:
 On Friday, 31 January 2014 at 02:26:51 UTC, Adam D. Ruppe wrote:
 On Friday, 31 January 2014 at 02:15:08 UTC, Mineko wrote:
 I'm completely lost on this one, here's the error message:
I think it is because "shared" is a keyword in D, so your module name module whatever.shared.shared; is triggering the problem. If you rename the package and modules from sharedto something else you should be ok. (You don't necessarily have to change the filename, just the module declaration and any imports of it. But it is probably easier to rename the file and folder too.)
Had a feeling.. Alright, thanks.
You might want to file a bug report as well about the utterly obtuse error message.
Jan 30 2014
parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 1/31/14, Meta <jared771 gmail.com> wrote:
 You might want to file a bug report as well about the utterly
 obtuse error message.
Yes, please file this as a bug. Thanks!
Jan 31 2014