View mode: basic / threaded / horizontal-split · Log in · Help
December 29, 2012
[Issue 9241] New: 2.061: Property call error message disappeared
http://d.puremagic.com/issues/show_bug.cgi?id=9241

          Summary: 2.061: Property call error message disappeared
          Product: D
          Version: D2
         Platform: All
       OS/Version: All
           Status: NEW
         Severity: normal
         Priority: P2
        Component: DMD
       AssignedTo: nobody@puremagic.com
       ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-29 10:21:34 PST ---
As a result of fixing Issue 8894 I've introduced a new problem:

import std.string;

void main()
{
   string s;
   s = s.splitLines;
}

2.060:
test.d(8): Error: not a property s.splitLines

2.061:
Error: no property 'splitLines' for type 'string'

The error message before is more informative because it shows you that the UFCS
function must be called with parentheses.

Issue 8894 was fixed with a band-aid by using gagging (on top of existing
gagging), but we're ultimately going to have to rewrite the lookup system in D
to not use gagging at all.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 14, 2013
[Issue 9241] 2.061: Property call error message disappeared
http://d.puremagic.com/issues/show_bug.cgi?id=9241


yebblies <yebblies@gmail.com> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
                CC|                            |yebblies@gmail.com


--- Comment #1 from yebblies <yebblies@gmail.com> 2013-01-14 22:35:27 EST ---
I get:

DMD v2.062 DEBUG
testx.d(6): Error: cannot implicitly convert expression (splitLines(s,
cast(Keep
Terminator)false)) of type string[] to string

Fixed?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 14, 2013
[Issue 9241] 2.061: Property call error message disappeared
http://d.puremagic.com/issues/show_bug.cgi?id=9241



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-14 07:39:20 PST ---
(In reply to comment #1)
> I get:
> 
> DMD v2.062 DEBUG
> testx.d(6): Error: cannot implicitly convert expression (splitLines(s,
> cast(Keep
> Terminator)false)) of type string[] to string
> 
> Fixed?

I forgot to mention -property is required.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 19, 2013
[Issue 9241] 2.061: Property call error message disappeared
http://d.puremagic.com/issues/show_bug.cgi?id=9241


Kenji Hara <k.hara.pg@gmail.com> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
          Keywords|                            |diagnostic, pull


--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-19 03:37:33 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1911

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 23, 2013
[Issue 9241] 2.061: Property call error message disappeared
http://d.puremagic.com/issues/show_bug.cgi?id=9241



--- Comment #4 from github-bugzilla@puremagic.com 2013-04-22 23:55:51 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/918656c57d198a00859b02608f9d187dddd9213f
fix Issue 9241 - 2.061: Property call error message disappeared

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 23, 2013
[Issue 9241] 2.061: Property call error message disappeared
http://d.puremagic.com/issues/show_bug.cgi?id=9241


Kenji Hara <k.hara.pg@gmail.com> changed:

          What    |Removed                     |Added
----------------------------------------------------------------------------
            Status|NEW                         |RESOLVED
        Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home