-
Notifications
You must be signed in to change notification settings - Fork 284
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
code from docs (first steps) doesn't run with current master #5
Comments
The error for .render! is |
tomash: Actually, in this case you should pass the |
Fixed in #21 |
Fixed page is now live. |
Isn't that example too complicated? With pull #21, this becomes res.render!("index.dt"); quite like the original sample. Or is the pull wrong? |
The problem is http://d.puremagic.com/issues/show_bug.cgi?id=2962 which fortunately seems like it was fixed some days ago. So with DMD 2.060 it can be changed to the non-compatibility version. |
Didn't read the bug report, but it seems to work for me (2.059 linux 64) on the simple example from the home page. |
The bug has multiple faces.. a compiler error or just invalid code generated or sometimes it even works correctly. But since this can suddenly crop up when you add some code to the project and since it can be really difficult to track down, I would not recommend to use the render() function without a fixed DMD. |
I see. Vibe seems to work just fine with 2.060, so I guess I can continue to experiment with trunk for the time being. |
also
listenHttp(settings, ); // should be: listenHttp(settings, &index);
The text was updated successfully, but these errors were encountered: