From e1b5b36d964bfbf62ba5e3e890494578b5121b18 Mon Sep 17 00:00:00 2001 From: tvp-jwheeler <42786168+tvp-jwheeler@users.noreply.github.com> Date: Thu, 25 Oct 2018 15:08:51 -0700 Subject: [PATCH] Add directive to tell user to enter valid type Adding text to direct user to enter correct type and re-run will allow user to see course progress at the end of this section without having to have a second thought about why course progress does not increment. --- src/main/scala/scalatutorial/sections/TermsAndTypes.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/scala/scalatutorial/sections/TermsAndTypes.scala b/src/main/scala/scalatutorial/sections/TermsAndTypes.scala index 445812cb..a568f090 100644 --- a/src/main/scala/scalatutorial/sections/TermsAndTypes.scala +++ b/src/main/scala/scalatutorial/sections/TermsAndTypes.scala @@ -167,6 +167,9 @@ object TermsAndTypes extends ScalaTutorialSection { */ def staticTyping(res0: Int): Unit = 1 to res0 + /* + * Now add in a type that is an Int and watch it compile. + */ /** * = Common Types =