View mode: basic / threaded / horizontal-split · Log in · Help
December 22, 2011
Bugs marked with [tdpl]
I've recently finished marking all sample code in TDPL that won't 
currently work. See

http://goo.gl/9sSXP

I've also added a few invisible samples - code that is not present in 
the text, but is implied to work by statements made in the text. I plan 
to add more of those. Essentially almost every paragraph in TDPL should 
be followed by an invisible snippet confirming the claims made. That 
way, TDPL and D would keep unity.

I'll add more such invisible snippets over the winter break. I suggest 
the dmd developers to focus on the bug reports marked with [tdpl] in title.


Thanks,

Andrei
December 22, 2011
Re: Bugs marked with [tdpl]
On Thursday, December 22, 2011 13:01:56 Andrei Alexandrescu wrote:
> I'll add more such invisible snippets over the winter break. I suggest
> the dmd developers to focus on the bug reports marked with [tdpl] in title.

This is particularly important if we want D to be newbie friendly. I don't 
think that it's uncommon for newbies to read TDPL and then be frustrated with 
how dmd doesn't really work the same way. In some cases, that's a result of 
improvements to the language (e.g. strong vs weak purity), but it's usually 
beacuse something isn't implemented properly yet. Questions related to that 
sort of stuff definitely come up on stackoverflow.

- Jonathan M Davis
January 02, 2012
Re: Bugs marked with [tdpl]
Progress status at the end of 2011.
Issue 3235 - [tdpl] Function literals must be deduced as "function" or
"delegate"Issue 5605 - [tdpl] foreach with ranges doesn't support
opSlice()Issue 6714 - [tdpl] Type inference for parameters of function
and delegate literalsIssue 7133 - [tdpl] There should be no empty
statement    RESOLVED FIXED!
Issue 1528 - [tdpl] overloading template and non-template
functionsIssue 2972 - [tdpl] Can't overload non-templated function
against templateIssue 4573 - [tdpl] Specialized functions conflict
with generic function    They are duplications each other
Issue 7131 - [tdpl] Hijacking detected where it doesn't exist    This
is a bit related to above three.    The problem is that the template
function overloadings does not calculate 'overload set'.
Issue 3382 - [tdpl] Implement uniform function call syntaxIssue 3836 -
[tdpl] obligatory override attributeIssue 4596 - [tdpl] Rebinding
*this* in class method compilesIssue 4675 - [tdpl] Eponymous Template
should hide internal names    Patches already posted, but not yet
merged.
Issue 4101 - [tdpl] DMD doesn't give error when goto skips
initializationIssue 4595 - [tdpl] Accessing non-static member of a
null reference compiles    Static analysis features.
Issue 4542 - [tdpl] TDPL NVI example results in linker errorIssue 6176
- [tdpl] Cannot use string variables in case expressions    Still
discussed in bugzilla?
Issue 7135 - [tdpl] Multiple delegate-related issues (literal syntax,
@system deduction)    TDPL code problem? (IMHO)
Issue 4423 - [tdpl] enums of struct typesIssue 4523 - [tdpl] .remove
method for Associative Arrays returns void in all casesIssue 4576 -
[tdpl] 0/1 argument calls to overloaded function is allowed in
presence of variadic functionIssue 6083 - [tdpl] There can be only one
alias this.Issue 7132 - [tdpl] Exponential operator ^^ for integrals
does not compile without any import    ...
Kenji Hara
2011/12/23 Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org>:
> I've recently finished marking all sample code in TDPL that won't currently
> work. See
>
> http://goo.gl/9sSXP
>
> I've also added a few invisible samples - code that is not present in the
> text, but is implied to work by statements made in the text. I plan to add
> more of those. Essentially almost every paragraph in TDPL should be followed
> by an invisible snippet confirming the claims made. That way, TDPL and D
> would keep unity.
>
> I'll add more such invisible snippets over the winter break. I suggest the
> dmd developers to focus on the bug reports marked with [tdpl] in title.
>
>
> Thanks,
>
> Andrei
January 02, 2012
Re: Bugs marked with [tdpl]
Progress status at the end of 2011.

Issue 3235 - [tdpl] Function literals must be deduced as "function" or
"delegate"Issue 5605 - [tdpl] foreach with ranges doesn't support
opSlice()
Issue 6714 - [tdpl] Type inference for parameters of function and
delegate literals
Issue 7133 - [tdpl] There should be no empty statement
   RESOLVED FIXED!
Issue 1528 - [tdpl] overloading template and non-template functions
Issue 2972 - [tdpl] Can't overload non-templated function against template
Issue 4573 - [tdpl] Specialized functions conflict with generic function
   They are duplications each other

Issue 7131 - [tdpl] Hijacking detected where it doesn't exist
   This is a bit related to above three.
   The problem is that the template function overloadings does not
calculate 'overload set'.

Issue 3382 - [tdpl] Implement uniform function call syntax
Issue 3836 - [tdpl] obligatory override attribute
Issue 4596 - [tdpl] Rebinding *this* in class method compiles
Issue 4675 - [tdpl] Eponymous Template should hide internal names
   Patches already posted, but not yet merged.
Issue 4101 - [tdpl] DMD doesn't give error when goto skips initialization
Issue 4595 - [tdpl] Accessing non-static member of a null reference compiles
   Static analysis features.
Issue 4542 - [tdpl] TDPL NVI example results in linker error
Issue 6176 - [tdpl] Cannot use string variables in case expressions
   Still discussed in bugzilla?
Issue 7135 - [tdpl] Multiple delegate-related issues (literal syntax,
@system deduction)
   TDPL code problem? (IMHO)
Issue 4423 - [tdpl] enums of struct types
Issue 4523 - [tdpl] .remove method for Associative Arrays returns void
in all cases
Issue 4576 - [tdpl] 0/1 argument calls to overloaded function is
allowed in presence of variadic function
Issue 6083 - [tdpl] There can be only one alias this.
Issue 7132 - [tdpl] Exponential operator ^^ for integrals does not
compile without any import
   ...

Kenji Hara


2011/12/23 Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org>:
> I've recently finished marking all sample code in TDPL that won't currently
> work. See
>
> http://goo.gl/9sSXP
>
> I've also added a few invisible samples - code that is not present in the
> text, but is implied to work by statements made in the text. I plan to add
> more of those. Essentially almost every paragraph in TDPL should be followed
> by an invisible snippet confirming the claims made. That way, TDPL and D
> would keep unity.
>
> I'll add more such invisible snippets over the winter break. I suggest the
> dmd developers to focus on the bug reports marked with [tdpl] in title.
>
>
> Thanks,
>
> Andrei
Top | Discussion index | About this forum | D home