On Sunday, 2 July 2017 at 01:06:29 UTC, Ali Çehreli wrote:
On 07/01/2017 04:56 PM, crimaniak wrote:
> about very long error messages generated in some
> cases.
Please submit a bug report. The compiler may be able to
abbreviate certain types. For example, in this case most of the
error
02.07.2017 04:06, Ali Çehreli пишет:
On 07/01/2017 04:56 PM, crimaniak wrote:
> about very long error messages generated in some
> cases.
Please submit a bug report. The compiler may be able to abbreviate
certain types. For example, in this case most of the error message text
is values of
On 07/01/2017 04:56 PM, crimaniak wrote:
> about very long error messages generated in some
> cases.
Please submit a bug report. The compiler may be able to abbreviate
certain types. For example, in this case most of the error message text
is values of a static array elements.
Ali
On Saturday, 1 July 2017 at 22:46:06 UTC, Adam D. Ruppe wrote:
On Saturday, 1 July 2017 at 22:44:33 UTC, crimaniak wrote:
enum moduleMask = ctRegex!`module\s+([^;]+)`;
That should be `static`, not `enum`. I betcha that will at
least change the error.
Works both variants, and reason
On 07/01/2017 03:44 PM, crimaniak wrote:
> Captures c = findModule.output.matchFirst!(moduleMask);
>
> result (even C++ guys will be impressed):
>
> phobos_imports.d(43): Error: struct std.regex.Captures(R, DIndex =
> size_t) if (isSomeString!R) is used as a type
From the error message, it
On Saturday, 1 July 2017 at 22:44:33 UTC, crimaniak wrote:
enum moduleMask = ctRegex!`module\s+([^;]+)`;
That should be `static`, not `enum`. I betcha that will at least
change the error.
Just for fun (may be):
code:
auto findModule = execute(["dscanner", "--etags", entry.name]);
enum moduleMask = ctRegex!`module\s+([^;]+)`;
Captures c = findModule.output.matchFirst!(moduleMask);
result (even C++ guys will be impressed):
phobos_imports.d(43): Error:
Decided to do a fresh install of windows, and problem has one
away. It seems no matter how careful you are to keep your system
lean and clean windows eventually starts grinding gears.
Thanks,
On Sunday, 16 August 2015 at 21:32:10 UTC, Warwick wrote:
Dont know what to make of this, I pretty much get it every
other time I call rdmd. It'll alternate between running fine
and then giving me this error...
Any ideas?
rdmd creates an executable and runs it immediately. If you have
an
On Monday, 17 August 2015 at 03:14:24 UTC, BBasile wrote:
It's locked unless it's specified during the call to
`CreateFile()` that the file can be shared for reading/writing
(FILE_SHARE_READ / FILE_SHARE_WRITE).
And the executable file being run must not be shared for writing,
because it's
On Sunday, August 16, 2015 21:32:08 Warwick via Digitalmars-d-learn wrote:
Dont know what to make of this, I pretty much get it every other
time I call rdmd. It'll alternate between running fine and then
giving me this error...
C:\Program Files (x86)\Notepad++rdmd J:\Code\statproc.d
On Monday, 17 August 2015 at 00:00:11 UTC, Jonathan M Davis wrote:
On Sunday, August 16, 2015 21:32:08 Warwick via
Digitalmars-d-learn wrote:
Dont know what to make of this, I pretty much get it every
other time I call rdmd. It'll alternate between running fine
and then giving me this error...
Dont know what to make of this, I pretty much get it every other
time I call rdmd. It'll alternate between running fine and then
giving me this error...
C:\Program Files (x86)\Notepad++rdmd J:\Code\statproc.d
std.process.ProcessException@std\process.d(550): Failed to spawn
new process (The
On Thursday, 2 April 2015 at 23:12:25 UTC, biozic wrote:
The code below doesn't compile. Why this error message?
---
struct Item {
int i;
}
struct Params {
Item* item;
this(int i) {
item = new Item(i); // line 9
}
}
struct Foo(Params params) {}
enum foo =
The code below doesn't compile. Why this error message?
---
struct Item {
int i;
}
struct Params {
Item* item;
this(int i) {
item = new Item(i); // line 9
}
}
struct Foo(Params params) {}
enum foo = Foo!(Params(1));
---
test.d(9): Error: Item(1) is not an lvalue
15 matches
Mail list logo