- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Requires keyword
Wed, 2010-01-13, 15:04
Is requires keyword is obsolete in Scala 2.8 (or removed)? This keyword still exists in Scala language specification (but only in few places).
Best regards,
Alexander Podkhalyuzin.
Wed, 2010-01-13, 23:17
#2
Re: Requires keyword
On Wed, Jan 13, 2010 at 3:23 PM, Paul Phillips wrote:
> On Wed, Jan 13, 2010 at 05:04:03PM +0300, Alexander wrote:
>> Is requires keyword is obsolete in Scala 2.8 (or removed)? This
>> keyword still exists in Scala language specification (but only in few
>> places).
>
> I was going to say it's only deprecated, but it looks like it's gone.
> Martin removed it in r17773.
>
It's gone. The spec will be updated soon. -- Martin
On Wed, Jan 13, 2010 at 05:04:03PM +0300, Alexander wrote:
> Is requires keyword is obsolete in Scala 2.8 (or removed)? This
> keyword still exists in Scala language specification (but only in few
> places).
I was going to say it's only deprecated, but it looks like it's gone.
Martin removed it in r17773.