Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmd 2.071 visibility warnings #7

Open
shishkander opened this issue Apr 24, 2016 · 0 comments
Open

dmd 2.071 visibility warnings #7

shishkander opened this issue Apr 24, 2016 · 0 comments

Comments

@shishkander
Copy link
Contributor

I'm not 100% certain of the visibility rules any more, so I'm not sure if below warnings are a bug in DMD or actually incorrect D usage by tested that evaded compiler for so long.

tested/example$ dmd --version
DMD64 D Compiler v2.071.0
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
tested/example$ dub test
No source files found in configuration 'library'. Falling back to "dub -b unittest".
Performing "unittest" build using dmd for x86_64.
tested ~master: building configuration "library"...
tested-example ~master: building configuration "application"...
../source/tested.d(270,21): Deprecation: app.object is not visible from module tested
../source/tested.d(271,27): Deprecation: app.object is not visible from module tested
../source/tested.d(270,21): Deprecation: app.tested is not visible from module tested
../source/tested.d(271,27): Deprecation: app.tested is not visible from module tested
../source/tested.d(272,17): Deprecation: app.tested is not visible from module tested
Linking...
Running ./tested-example 
PASS "arithmetic" (app.__unittestL26_2) after 0.000000 s
FAIL "arithmetic2" (app.__unittestL36_3) after 0.000013 s: unittest failure
PASS "int array" (app.__unittestL43_4) after 1.106415 s
FAIL "limited int array" (app.__unittestL56_5) after 0.994495 s: Too many items
PASS "recursion must be terminated" (app.Recursion.__unittestL75_6) after 0.000000 s
===========================
3 of 5 tests have passed.

FINAL RESULT: FAILED
core.exception.AssertError@source/app.d(20): Unit tests failed.
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant