[Issue 8270] Different error messages for missing const in var[] and var.opSlice()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 26 16:11:05 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8270


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich at gmail.com
         Resolution|                            |FIXED


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-12-26 16:11:04 PST ---
Fixed in 2.061, both messages are like #2 now.

However it will also get better after pull 1407 is merged
(http://d.puremagic.com/issues/show_bug.cgi?id=8270):

test.d(12): Error: mutable method test.S.opSlice is not callable using const
object
test.d(13): Error: mutable method test.S.opSlice is not callable using const
object

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list