--- Comment #4 from 2012-01-04 03:11:27 PST ---
The situation is not improved.

Wrong D2 code:

import core.stdc.stdlib: puts;
import std.stdio: reverse;
void main() {
    int[] a = [1, 2, 3];

After the recent changes in import semantics DMD 2.058head gives:

test.d(4): Error: undefined identifier puts
test.d(6): Error: undefined identifier reverse

But instead of such errors at the usage point I suggest to give import errors,
something like:

test.d(1): Error: name 'puts' not present in 'core.stdc.stdlib' module.
test.d(2): Error: name 'reverse' not present in 'std.stdio' module.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to