Author |
Message |
Topic: Array initialization formatting |
kihjin
Replies: 4
Views: 9362
|
Forum: Descent Posted: Sun Oct 07, 2007 5:23 pm Subject: Array initialization formatting |
The formatter can't be perfect, but I figured if I didn't say anything then perhaps the issue might not be considered at all, whether a good solution actually exists or not.
The array initializatio ... |
Topic: Array initialization formatting |
kihjin
Replies: 4
Views: 9362
|
Forum: Descent Posted: Sat Oct 06, 2007 2:22 pm Subject: Array initialization formatting |
Hi,
I've got several "large" multidimensional array initializations and I haven't been able to find a line wrapping setting which would produce something decent (please forgive the pun).
... |
Topic: tab/space mixture after return |
kihjin
Replies: 2
Views: 8269
|
Forum: Descent Posted: Mon Sep 24, 2007 7:16 am Subject: tab/space mixture after return |
It's not so much a problem, just an annoyance. I have "Tabs only" selected, so it seems that only tabs should be generated.
Either way my code still compiles :-D |
Topic: Java OutOfMemory |
kihjin
Replies: 4
Views: 11873
|
Forum: Descent Posted: Sat Sep 22, 2007 10:37 pm Subject: Java OutOfMemory |
descent.internal.formatter.AbortFormatting: unexpected token type, expecting:), actual:null
at descent.internal.formatter.Scribe.printNextToken(Scribe.java:1099)
at descent.internal. ... |
Topic: Java OutOfMemory |
kihjin
Replies: 4
Views: 11873
|
Forum: Descent Posted: Sat Sep 22, 2007 7:47 pm Subject: Java OutOfMemory |
This seems to be what is causing the problem:
if (!c.args[i].optional) {
switch(c.args[i]) {
case cmd.arg.Type.Decimal:
if ... |
Topic: Java OutOfMemory |
kihjin
Replies: 4
Views: 11873
|
Forum: Descent Posted: Sat Sep 22, 2007 7:40 pm Subject: Java OutOfMemory |
Exception in thread "descent.internal.ui.text.JavaReconciler" java.lang.OutOfMemoryError: Java heap space
This has happened to me more than five times today. It causes Eclipse to free ... |
Topic: tab/space mixture after return |
kihjin
Replies: 2
Views: 8269
|
Forum: Descent Posted: Sat Sep 22, 2007 3:05 pm Subject: tab/space mixture after return |
[tab][tab]cmd c = {part[0 .. pos], (part[pos + 1] != '!')};
When I have the caret positioned after {, yet before part, the editor will generate a ... |
Topic: One thing I would change in D |
kihjin
Replies: 0
Views: 5698
|
Forum: General Posted: Sat Sep 15, 2007 2:47 pm Subject: One thing I would change in D |
variable !is null
When I read this, I get: variable not is null. Perhaps I am alone in this assertion, but this syntax seems awkward. Although
variable is !null
may not be any better, because ... |
Topic: Class Invariants |
kihjin
Replies: 2
Views: 8416
|
Forum: Descent Posted: Sat Sep 15, 2007 8:15 am Subject: Class Invariants |
Ahhh. So invariant requires ()
I've been using the D docs that came with the DMD compiler locally. They are quicker to load than the ones on digitalmars.com. The class.html I have shows the invaria ... |
Topic: Class Invariants |
kihjin
Replies: 2
Views: 8416
|
Forum: Descent Posted: Fri Sep 14, 2007 7:26 pm Subject: Class Invariants |
Hi-
The following piece of code renders an "error" on assert(true); but dmd compiles it just fine. Does Descent lack class invariant syntax support?
module Test;
class Test
{
... |
Topic: Error creating D project |
kihjin
Replies: 19
Views: 34018
|
Forum: Descent Posted: Mon Sep 10, 2007 1:32 pm Subject: Error creating D project |
Well I uninstalled, and reinstalled the plugin and everything seems to work good now.
What's weird is, that's one of the first things I tried when I first had this problem (before posting for help ... |
Topic: Error creating D project |
kihjin
Replies: 19
Views: 34018
|
Forum: Descent Posted: Mon Sep 10, 2007 11:04 am Subject: Error creating D project |
Here is the eclipse log: http://upload.frozenonline.com/view/kyle/temp/eclipse.log
As for whether I downloaded before or after your newsgroup announcement (something I was not aware of, or paying a ... |
Topic: Error creating D project |
kihjin
Replies: 19
Views: 34018
|
Forum: Descent Posted: Sun Sep 09, 2007 12:25 pm Subject: Error creating D project |
Hi,
java.library.path=/opt/jdk1.5.0_10/jre/lib/i386/client:/opt/jdk1.5.0_10/jre/lib/i386:/opt/jdk1.5.0_10/jre/../lib/i386:/usr/lib/firefox-1.5.0.9
java.runtime.name=Java(TM) 2 Runtime Environment, ... |
Topic: Error creating D project |
kihjin
Replies: 19
Views: 34018
|
Forum: Descent Posted: Sun Sep 09, 2007 12:17 pm Subject: Error creating D project |
Hi,
I'm experiencing this issue. I'm running in Linux.
kyle@frozen:~/eclipse/plugins$ java -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1. ... |
Topic: linker library order |
kihjin
Replies: 2
Views: 8335
|
Forum: Build Posted: Mon Jan 01, 2007 11:59 am Subject: linker library order |
I should have waited a bit longer before posting. Then again I may not have discovered the "solution."
I added the following to my source files:
version(build) {
pragma& ... |
|