1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00

Bump Kotlin version to 1.0. Remove unnecessary cast.

This commit is contained in:
Prat 2016-02-15 20:25:32 -05:00
parent 610c61e531
commit 75787d777f
3 changed files with 4 additions and 4 deletions

View File

@ -371,7 +371,7 @@ julia stepX_YYY.jl
*The Kotlin implementation was created by [Javier Fernandez-Ivern](https://github.com/ivern)*
The Kotlin implementation of mal has been tested with Kotlin 1.0.0-beta.
The Kotlin implementation of mal has been tested with Kotlin 1.0.
```
cd kotlin

View File

@ -25,10 +25,10 @@ WORKDIR /mal
RUN apt-get -y install openjdk-7-jdk
RUN apt-get -y install unzip
RUN curl -O -J -L https://github.com/JetBrains/kotlin/releases/download/build-1.0.0-beta-4584/kotlin-compiler-1.0.0-beta-4584.zip
RUN curl -O -J -L https://github.com/JetBrains/kotlin/releases/download/build-1.0.0/kotlin-compiler-1.0.0.zip
RUN mkdir -p /kotlin-compiler
RUN unzip kotlin-compiler-1.0.0-beta-4584.zip -d /kotlin-compiler
RUN unzip kotlin-compiler-1.0.0.zip -d /kotlin-compiler
ENV KOTLIN_HOME /kotlin-compiler/kotlinc
ENV PATH $KOTLIN_HOME/bin:$PATH

View File

@ -95,7 +95,7 @@ fun read_hashmap(reader: Reader): MalType {
}
if (key != null) {
hashMap.assoc_BANG(key as MalString, value as MalType)
hashMap.assoc_BANG(key, value as MalType)
}
} while (key != null)