Skip to content

Commit

Permalink
fix: refactor of kotlin mode to simplify states and resolve incorrect…
Browse files Browse the repository at this point in the history
… highlights
  • Loading branch information
mkslanc committed Jul 21, 2022
1 parent f7432f5 commit a30a99d
Show file tree
Hide file tree
Showing 3 changed files with 780 additions and 963 deletions.
6 changes: 6 additions & 0 deletions demo/kitchen-sink/docs/kotlin.kt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env kotlinc -script

/*Taken from http://try.kotlinlang.org/#/Examples/Longer%20examples/Life/Life.kt*/
/**
* This is a straightforward implementation of The Game of Life
Expand Down Expand Up @@ -37,6 +39,10 @@ class Field(
operator fun get(i: Int, j: Int) = live[i][j]
}

class Test public constructor {
}
var test = "test"

/**
* This function takes the present state of the field
* and returns a new field representing the next moment of time
Expand Down
Loading

0 comments on commit a30a99d

Please sign in to comment.