The Artima Developer Community
Sponsored Link

Programming in Scala Forum
scala.Application??

1 reply on 1 page. Most recent reply: Dec 7, 2014 4:38 PM by Bill Venners

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Stephen Riley

Posts: 2
Nickname: 93973
Registered: Dec, 2014

scala.Application?? Posted: Dec 7, 2014 3:34 PM
Reply to this message Reply
Advertisement
2nd Ed, Section 4.5, pdf page 115

The code in listing 4.4 will not compile.

I was able to compile and run if I changed "...extends Application..." to "...extends App..." on line 3.

I am running 2.11.4. Is this a change since version 2.8?


Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Re: scala.Application?? Posted: Dec 7, 2014 4:38 PM
Reply to this message Reply
Hi Stephen,

Yes, App is the new Application.

Bill

Flat View: This topic has 1 reply on 1 page
Topic: Unable to Run Scala code on pg104 in the e-book edition Previous Topic   Next Topic Topic: How to get message from custom component?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use