diff options
author | Burak Emir <emir@epfl.ch> | 2006-03-09 15:36:17 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2006-03-09 15:36:17 +0000 |
commit | cfcb34f4e333ca9fb2ad12a20c64ddaaf5f45507 (patch) | |
tree | 710d3afe141d6e287e31d8ce0036510d90aea4d9 /src | |
parent | 5478a64f238dce404e1df86af8de8899c9b1f583 (diff) | |
download | scala-cfcb34f4e333ca9fb2ad12a20c64ddaaf5f45507.tar.gz scala-cfcb34f4e333ca9fb2ad12a20c64ddaaf5f45507.tar.bz2 scala-cfcb34f4e333ca9fb2ad12a20c64ddaaf5f45507.zip |
fixed names of view methods
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/dbc/Utilities.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/dbc/Utilities.scala b/src/library/scala/dbc/Utilities.scala index 54c9bb405a..c2691143f3 100644 --- a/src/library/scala/dbc/Utilities.scala +++ b/src/library/scala/dbc/Utilities.scala @@ -18,10 +18,10 @@ package scala.dbc; */ object Utilities { - def view (obj: statement.expression.Constant): Value = + implicit def constantToValue (obj: statement.expression.Constant): Value = obj.constantValue; - def view (obj: Value): statement.expression.Constant = + implicit def valueToConstant (obj: Value): statement.expression.Constant = new statement.expression.Constant { val constantValue = obj; } |