Btw today Martin mentioned that replacing Nothing with Uninferred will
only help if the type parameter doesn't have lower bounds. Otherwise,
nothing can stop it from being sneakily inferred to a lower bound. Can
something be done about that as well?
On May 5, 10:35 pm, Paul Phillips <
pa...@improving.org> wrote:
> FYI I dug up my old attempt at 1570 and I think I know how to finish it
> now. Should know by tomorrow sometime.
>
>
>
>
>
>
>
> On Saturday, May 4, 2013, Eugene Burmako wrote:
> > Thanks for providing inspiration! I guess I'll have to fix this sooner or
> > later, because I probably wouldn't be able to live with the feeling of
> > implicit macros, my favorite macros of them all, being not quite perfect.
>
> > Also, what do you think about the problem reported in this topic, when
> > class tags that occasionally happen to be in scope inadvertently affect
> > type inference? Having implicits work together with type inference is the
> > single coolest feature of Scala, but have you previously seen situations
> > when that turns out to be undesirable?
>
> > On 4 May 2013 17:50, Paul Phillips <
pa...@improving.org<javascript:_e({}, 'cvml', '
pa...@improving.org');>
> > > wrote:
>
> >> I'm sure you can see a billion messages from me talking about the
> >> multiple uses of Nothing. It is fixable. I fixed it locally two years ago,
> >> and I failed to push all the way to completion. But I know it works, and
> >> this is what I did: make more than one Nothing. There's only one
> >> NothingClass, but there can be arbitrarily many types wrapped around it. I
> >> had something like
>
> >> val UninferredType = typeRef(NoPrefix, NothingClass, SomeDummyType)
> >> val ExplicitNothing = typeRef(NoPrefix, NothingClass, SomeOtherDummyType)
>
> >> Then it's only a small matter of analyzing the 500 places nothing is used
> >> one way or another and adjusting them as necessary.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "scala-internals" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an
> >> email to
scala-interna...@googlegroups.com <javascript:_e({},
> >> 'cvml', '
scala-internals%2Bunsu...@googlegroups.com');>.
> >> For more options, visithttps://
groups.google.com/groups/opt_out.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "scala-internals" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to
scala-interna...@googlegroups.com <javascript:_e({},
> > 'cvml', '
scala-internals%2Bunsu...@googlegroups.com');>.
> > For more options, visithttps://
groups.google.com/groups/opt_out.