Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
December 26, 2013 Bug report (sorry, couldn't register at bugzilla for some reason) | ||||
---|---|---|---|---|
| ||||
I'm trying to use the LuaD library right now... unfortunately, I've run into somewhat of a roadblock. This doesn't work (assertion failure in dmd's backend/cgcs.c:351, which has apparently something to do with bitops... there's an assert(0) there and I'm not really sure why). import luad.all; struct Position { double x,y; } void main() { auto state = new LuaState; state.doString("pos = {x = 1, y = 2}"); auto pos = state.get!Position("pos"); } but this does (note that state.get!(...) simply delegates to state.globals.get!(...)). import luad.all; struct Position { double x,y; } void main() { auto state = new LuaState; state.doString("pos = {x = 1, y = 2}"); auto pos = state.get!Position("pos"); } I'm not sure what's the cause and I don't know enough about dmd's internals to make an educated guess, but I'm pretty sure this is a bug in dmd and not in LuaD. |
December 26, 2013 Re: Bug report (sorry, couldn't register at bugzilla for some reason) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hannes Steffenhagen | Sorry, I'm not sure how to edit posts, it's 6am and I kinda didn't get any sleep yet, so excuse me if I'm a bit confused right now. The second example was supposed to be state.globals.get!. |
December 26, 2013 Re: Bug report (sorry, couldn't register at bugzilla for some reason) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hannes Steffenhagen | On Thursday, 26 December 2013 at 05:01:08 UTC, Hannes Steffenhagen wrote:
> I'm not sure what's the cause and I don't know enough about dmd's internals to make an educated guess, but I'm pretty sure this is a bug in dmd and not in LuaD.
Indeed it is a DMD regression. I haven't been able to reduce it yet, so your example is intriguing. It's pretty much a total blocker for using LuaD in 2.064.
/insert expletives about DMD
|
December 28, 2013 Re: Bug report (sorry, couldn't register at bugzilla for some reason) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hannes Steffenhagen | On Thursday, December 26, 2013 05:02:48 Hannes Steffenhagen wrote:
> Sorry, I'm not sure how to edit posts
It's not possible to edit posts. There are multiple interfaces to this newsgroup (NNTP, mailing list, and web forum), and the ability to edit posts would not work with that. So, replying to your own post with corrected information is the best that you can do.
- Jonathan M Davis
|
December 28, 2013 Re: Bug report (sorry, couldn't register at bugzilla for some reason) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | On Saturday, 28 December 2013 at 01:02:54 UTC, Jonathan M Davis wrote:
> On Thursday, December 26, 2013 05:02:48 Hannes Steffenhagen wrote:
>> Sorry, I'm not sure how to edit posts
>
> It's not possible to edit posts. There are multiple interfaces to this
> newsgroup (NNTP, mailing list, and web forum), and the ability to edit posts
> would not work with that. So, replying to your own post with corrected
> information is the best that you can do.
This is why I wish the web interface had never been called a "forum" in the first place. According to the common usage of that word on the internet, it isn't. People have certain expectations of forum software. When newcomers start using the web interface, they have no idea that it's essentially a web-based newsgroup client and not an actual web forum that can support all the features they expect.
This is not the first time I've seen someone lost about how to edit their "forum" posts.
|
December 28, 2013 Re: Bug report (sorry, couldn't register at bugzilla for some reason) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | On Sat, Dec 28, 2013 at 06:04:01AM +0000, Mike Parker wrote: > On Saturday, 28 December 2013 at 01:02:54 UTC, Jonathan M Davis wrote: > >On Thursday, December 26, 2013 05:02:48 Hannes Steffenhagen wrote: > >>Sorry, I'm not sure how to edit posts > > > >It's not possible to edit posts. There are multiple interfaces to this newsgroup (NNTP, mailing list, and web forum), and the ability to edit posts would not work with that. So, replying to your own post with corrected information is the best that you can do. > > This is why I wish the web interface had never been called a "forum" in the first place. According to the common usage of that word on the internet, it isn't. People have certain expectations of forum software. When newcomers start using the web interface, they have no idea that it's essentially a web-based newsgroup client and not an actual web forum that can support all the features they expect. > > This is not the first time I've seen someone lost about how to edit their "forum" posts. [...] We should just call it a newsgroup. Or a mailing list. I prefer the latter, since it's clear that once the mail is sent out, you can't "unsend" it to make further corrections. T -- "You know, maybe we don't *need* enemies." "Yeah, best friends are about all I can take." -- Calvin & Hobbes |
December 29, 2013 Re: Bug report (sorry, couldn't register at bugzilla for some reason) | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | On Saturday, 28 December 2013 at 06:24:06 UTC, H. S. Teoh wrote:
> We should just call it a newsgroup. Or a mailing list. I prefer the
> latter, since it's clear that once the mail is sent out, you can't
> "unsend" it to make further corrections.
Well, it does not really matter how we call it if domain is still "forum.dlang.org" ;)
|
Copyright © 1999-2021 by the D Language Foundation