diff --git a/.gitignore b/.gitignore index 4be9cb4..938d3f9 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,16 @@ highlights/node_modules highlights/atom-language-perl6/ .DS_store highlights/package-lock.json + +# IDE specific +.scala_dependencies +.classpath +*.iml +.idea/ +.idea_modules/ +.project +.settings/ +*.sublime-project +*.sublime-workspace +/.env +atlassian-ide-plugin.xml diff --git a/05_hash_tables/scala/02_check_voter.scala b/05_hash_tables/scala/02_check_voter.scala index b995e20..738e9a0 100644 --- a/05_hash_tables/scala/02_check_voter.scala +++ b/05_hash_tables/scala/02_check_voter.scala @@ -5,6 +5,7 @@ def check_voter(name: String): Unit = { println("kick them out!") } else{ voted += (name -> true) + println("let them vote!") } } check_voter("tom")