January 12, 2011 levenshteinDistanceAndPath Source bug | ||||
---|---|---|---|---|
| ||||
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. |
January 12, 2011 Re: levenshteinDistanceAndPath Source bug | ||||
---|---|---|---|---|
| ||||
Posted in reply to tsukikage | Hello tsukikage, > 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. Newsgroup post tend to get lost: http://d.puremagic.com/issues/ |
Copyright © 1999-2021 by the D Language Foundation