Did dmd forget how to read?

Cym13 via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 5 17:22:45 PDT 2017


On Saturday, 5 August 2017 at 23:54:45 UTC, Johnson Jones wrote:
> main.d(157): Error: no property 'SetCursor' for type 
> 'gdk.Window.Window', did you mean 'getCursor'?
>
> um... anyone see bug? It's there, I promise.

"setCursor" exists, but "SetCursor" doesn't (or your "bug" 
depends on code that you wrote and didn't share). I believe as 
both "setCursor" and "getCursor" are one character away from 
"SetCursor" dmd took the first one in alphabetic order or 
something. No need to panic ;)


More information about the Digitalmars-d mailing list