Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

object.d(16): get rid of if(!__ctfe) (UEObject created at ct) #87

Open
extrawurst opened this issue May 12, 2015 · 0 comments
Open

object.d(16): get rid of if(!__ctfe) (UEObject created at ct) #87

extrawurst opened this issue May 12, 2015 · 0 comments
Labels
Milestone

Comments

@extrawurst
Copy link
Owner

i have a weird problem that boils down to: how do i found out why/where dmd tries to call a class constructor at compile time. any ideas ? the compiler just tells me that something cannot be read at compile time inside that constructor... 
23:36:26CyberShadow
dustmite 
23:36:35extrawurst
foo.d(17): Error: static variable Bar cannot be read at compile time 
23:36:35
       called from here: super.this() 
23:36:35
       called from here: super.this() 
23:36:42
→ nicferrier has joined 
23:36:58CyberShadow
also file a bug, there should be line numbers there 
23:38:35extrawurst
CyberShadow: ok you mean define a shell script that matches the output and let it reduce to a minimum codebase generating that result ? 
23:38:46
(using dustmite) 
23:39:02CyberShadow
That's pretty much how you use dustmite 
23:39:19extrawurst
i see - never used it yet 
23:39:40
problem is i am a shell script noob 
23:40:02CyberShadow
check the wiki, there's a tutorial and some more advanced examples 
@extrawurst extrawurst changed the title object.d(16) if(!__ctfe) loswerden object.d(16): get rid of if(!__ctfe) (UEObject created at ct) May 12, 2015
@extrawurst extrawurst added this to the v0.2 - editor milestone May 12, 2015
@extrawurst extrawurst added the bug label May 12, 2015
@extrawurst extrawurst removed the ready label Jan 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant