Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 31, 2014 I don't even.. | ||||
---|---|---|---|---|
| ||||
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.. |
January 31, 2014 Re: I don't even.. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mineko | 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.)
|
January 31, 2014 Re: I don't even.. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | 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.
|
January 31, 2014 Re: I don't even.. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mineko | 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.
|
Copyright © 1999-2021 by the D Language Foundation