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

Unittests fail with LDC (pass in DMD, normal play is seems OK) #368

Closed
SimonN opened this issue Nov 14, 2018 · 0 comments
Closed

Unittests fail with LDC (pass in DMD, normal play is seems OK) #368

SimonN opened this issue Nov 14, 2018 · 0 comments
Labels

Comments

@SimonN
Copy link
Owner

SimonN commented Nov 14, 2018

Lix 0.9.21.

  1. Clone the LixD repository.
  2. Install LDC and dub.
  3. dub test --compiler=ldc

Expected: Tests pass. (They indeed pass with DMD.)

Observed instead: Some more complicated tests (gameplay or tilesets) violate assertions of initialization order.

core.exception.AssertError@src/file/filename/vfsfile.d(305): call VFS initialize() before this
----------------
??:? _d_assert_msg [0x7f24b5cb4839]
vfsfile.d:305 [0x55cf0cf3d00b]
vfsfile.d:104 [0x55cf0ce21e79]
tilelib.d:123 [0x55cf0ce2184b]
tilelib.d:104 [0x55cf0ce209ac]
tilelib.d:66 [0x55cf0ce2096f]
addtile.d:91 [0x55cf0ce85fe3]
load.d:109 [0x55cf0ce853b4]
load.d:149 [0x55cf0ce862ee]
@SimonN SimonN added the 3-bug label Nov 14, 2018
@SimonN SimonN closed this as completed in dfa23cb Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant