Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix wrong use search #849
UseDef findUse() return wrong path according to the order of soures.
Assume that we have ./ooc-math.use and ./source/sdk/math.use. When searching for math.use, the following code
gives ooc-math.use instead of math.use because both of them have suffixes "math.use" but ooc-math is searched first. This will cause circle dependency problem.
How to reproduce:
Compile ooc-kean with the lastest rock.
added a commit
this pull request
Jan 12, 2015
@davidhesselbom Just a retina display :) (native resolution: 2880x1800).
About abs: I think it might be related to the stricter checks introduced in 80e0a09
(Which, in retrospect, explains a0c178c). Imho type extensions should be able to redefine functions if they feel like it, although that might be too obscure. Hm.
Actually it's been a very long time since I've read some parts of rock. And when I read it now, I just want to burn it all. To the ground. And rewrite it all. But who's got the time for that :(
Cogneco when you're rich, hire me, I'll make ooc better I promise.
I did get an e-mail from Google about a job offer — but they send hundreds of those everyday, it was nothing serious / personal. And it wasn't ooc-related as far as I could tell.
I've used ooc professionally at official.fm, and I've written another compiler at my current company, and I'm still today using ooc in another project, with yet another language on top — so, you know, I'm still "in the game" somewhat, just not running around, giving conferences and whatnot.
@fasterthanlime, this is what we're using ooc for: http://techcrunch.com/2015/01/09/imint-wants-to-bring-real-time-video-stabilization-to-android/
(actually, that one's been fixed, I just haven't had time to make a pull request yet. I haven't tried zhaihj's fix either, it might work even better than ours...)
I'll see if there's some extra money lying around the office, the idea has been brought up before.