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


SomeDude <lovelyd...@mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelyd...@mailmetrash.com


--- Comment #3 from SomeDude <lovelyd...@mailmetrash.com> 2012-04-19 07:43:11 
PDT ---
This works.

import std.stdio;
import std.c.stdio;

void foo() {
  File f = std.stdio.stdin;
  int c = std.c.stdio.getc(f.getFP());
}

as well as that:

import std.stdio:stdin, File;
import std.c.stdio:getc;

void foo() {
  File f = stdin;
  int c = getc(f.getFP());
}

So this is not a bug, it's a case of not understanding the use of packages.

I think it should be closed.

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

Reply via email to