Created
          December 29, 2014 03:42 
        
      - 
      
- 
        Save ostretsov/d2d491bec0e11f5a3469 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | object OmitParenthesis { | |
| def test = "test" | |
| def test2() = "test2" | |
| def main (args: Array[String]): Unit = { | |
| println(test) | |
| // println(test()) // it's impossible | |
| println(test2) | |
| println(test2()) | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment