|
Scala example source code file (scopes.check)
The Scala scopes.check source codescopes.scala:3: error: t is already defined as type t type t = Float ^ scopes.scala:5: error: x is already defined as value x val x: Float = .0f; ^ scopes.scala:8: error: y is already defined as value y val y: Float = .0f ^ scopes.scala:11: error: x is already defined as value x def f1(x: Int, x: Float) = x ^ scopes.scala:12: error: y is already defined as value y def f2(x: Int)(y: Int, y: Float) = x + y ^ scopes.scala:13: error: x is already defined as value x val closure = (x: Int, x: Float) => x ^ scopes.scala:15: error: x is already defined as value x case x::x => x ^ 7 errors found Other Scala examples (source code examples)Here is a short list of links related to this Scala scopes.check source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.