[Issue 2660] Change #line to pragma(line)

2009-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2660





--- Comment #13 from ma...@pochta.ru  2009-02-24 02:32 ---
D has entire namespace of tokens __*__ reserved for internal use. How about
using it? I don't know at which stage they are processed. They are documented
in lexical part of specs. How about this declaration:

SpecialTokenSequence:
__assume_line__ Integer EndOfLine
__assume_line__ Integer Filespec EndOfLine

Filespec:
 Characters 

Any objections? I think, it's a trivial substitution.


-- 



[Issue 2095] covariance w/o typechecks = bugs

2009-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2095





--- Comment #9 from ma...@pochta.ru  2009-02-24 03:24 ---
This turned out to be well-known. Bug 926.
In NG: http://www.digitalmars.com/d/archives/17039.html


-- 



[Issue 2685] New: implicit string literal concatenation

2009-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2685

   Summary: implicit string literal concatenation
   Product: D
   Version: 2.025
  Platform: All
   URL: http://www.digitalmars.com/webnews/newsgroups.php?art_gr
oup=digitalmars.Darticle_id=84749
OS/Version: All
Status: NEW
  Keywords: spec
  Severity: normal
  Priority: P3
 Component: DMD
AssignedTo: bugzi...@digitalmars.com
ReportedBy: ma...@pochta.ru


Find the bug:
static string[] KEYWORDS = [ abstract, alias, align, asm,
assert, auto, body, bool, break, byte, case,
cast, catch, cdouble, cent, cfloat, char, class,
const, continue, creal, dchar, debug, default,
delegate, delete, deprecated, do, double, else,
enum, export, extern, false, final, finally,
float, for, foreach, foreach_reverse, function,
goto, idouble, if, ifloat, import, in, inout,
int, interface, invariant, ireal, is, lazy, long,
mixin, module, new, null, out, override, package,
pragma, private, private:, protected, protected:,
public, public:, real, return, scope, short,
static, struct, super, switch, synchronized,
template, this, throw, true, try, typedef, typeid,
typeof, ubyte, ucent, uint ulong, union, unittest,
ushort, version, void, volatile, wchar, while,
with, ~this ];


-- 



[Issue 2687] ICE in statement.c: ParameterTypeTuple of aliased function and friends

2009-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2687





--- Comment #2 from daniel.keep+d.puremagic@gmail.com  2009-02-24 08:40 
---
Created an attachment (id=292)
 -- (http://d.puremagic.com/issues/attachment.cgi?id=292action=view)
fnalias_reflect.d - template madness


-- 



[Issue 926] Revival of implicit conversion from Derived[] to Base[] not noted in changelog

2009-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=926


s...@iname.com changed:

   What|Removed |Added

 CC||s...@iname.com
 Status|RESOLVED|REOPENED
  Component|DMD |www.digitalmars.com
 Resolution|INVALID |
Summary|Implicit conversion from|Revival of implicit
   |Derived[] to Base[] |conversion from Derived[] to
   ||Base[] not noted in
   ||changelog




--- Comment #2 from s...@iname.com  2009-02-24 09:30 ---
So the bug is that either:
(a) It was disallowed in 0.73 according to the changelog, but the spec itself
not updated.  The 'bug' that it didn't behave according to spec was
subsequently fixed, but Walter completely forgot about the time when the
anomaly was introduced.

(b) It was disallowed in 0.73, the spec updated, and then the reversion both in
the spec and in the compiler was inadvertently left out of the changelog.


-- 



[Issue 2685] Implicit string literal concatenation

2009-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2685


matti.niemenmaa+dbugzi...@iki.fi changed:

   What|Removed |Added

   Severity|normal  |enhancement
Summary|implicit string literal |Implicit string literal
   |concatenation   |concatenation




--- Comment #1 from matti.niemenmaa+dbugzi...@iki.fi  2009-02-24 11:35 
---
This is an enhancement request, not a bug. Marking as such.

(The bug in the code is a missing comma after uint.)


-- 



[Issue 2575] gdb can not show code

2009-02-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2575





--- Comment #7 from bugzi...@digitalmars.com  2009-02-25 00:30 ---
Looks like DW_AT_MIPS_linkage_name is an undocumented vendor extension to
Dwarf.


--