digitalmars.D - levenshteinDistanceAndPath Source bug
- tsukikage (9/9) Jan 11 2011 Hello, there is a bug at std.algorithm source.
- tsukikage (2/16) Jan 11 2011 sorry, wrong place, please ignore.
- Andrei Alexandrescu (8/23) Jan 11 2011 Fixed and readded unittest:
- Jesse Phillips (2/13) Jan 11 2011 In fact bugs should not be posted to digitalmars.d.bugs directly as it i...
Hello, there is a bug at std.algorithm source. dsource,org's source: 4120 levenshteinDistanceAndPath(alias equals = "a == b", Range1, Range2) 4121 (Range1 s, Range2 t) 4122 if (isForwardRange!(Range1) && isForwardRange!(Range2)) 4123 { 4124 Levenshtein!(Range, binaryFun!(equals)) lev; 'Range' at line 4124( 3975 at my downloaded dmd 2.051 ) should be 'Range1' ? The windows lib binary seems ok if this source line is fixed.
Jan 11 2011
tsukikage wrote:Hello, there is a bug at std.algorithm source. dsource,org's source: 4120 levenshteinDistanceAndPath(alias equals = "a == b", Range1, Range2) 4121 (Range1 s, Range2 t) 4122 if (isForwardRange!(Range1) && isForwardRange!(Range2)) 4123 { 4124 Levenshtein!(Range, binaryFun!(equals)) lev; 'Range' at line 4124( 3975 at my downloaded dmd 2.051 ) should be 'Range1' ? The windows lib binary seems ok if this source line is fixed.sorry, wrong place, please ignore.
Jan 11 2011
On 1/11/11 5:28 PM, tsukikage wrote:tsukikage wrote:Fixed and readded unittest: http://www.dsource.org/projects/phobos/changeset/2315 http://www.dsource.org/projects/phobos/changeset/2316 To post bugs, you may want to go to http://d.puremagic.com/issues. What you post there will automatically appear in digitalmars.d.bugs (no need to post there). AndreiHello, there is a bug at std.algorithm source. dsource,org's source: 4120 levenshteinDistanceAndPath(alias equals = "a == b", Range1, Range2) 4121 (Range1 s, Range2 t) 4122 if (isForwardRange!(Range1) && isForwardRange!(Range2)) 4123 { 4124 Levenshtein!(Range, binaryFun!(equals)) lev; 'Range' at line 4124( 3975 at my downloaded dmd 2.051 ) should be 'Range1' ? The windows lib binary seems ok if this source line is fixed.sorry, wrong place, please ignore.
Jan 11 2011
Andrei Alexandrescu Wrote:Fixed and readded unittest: http://www.dsource.org/projects/phobos/changeset/2315 http://www.dsource.org/projects/phobos/changeset/2316 To post bugs, you may want to go to http://d.puremagic.com/issues. What you post there will automatically appear in digitalmars.d.bugs (no need to post there). AndreiIn fact bugs should not be posted to digitalmars.d.bugs directly as it is not their for tracking bugs and many may not follow it.
Jan 11 2011