Skip to content

Commit 1095b84

Browse files
committed
1.3.2
Kotlin builtin function updates
1 parent 63eed10 commit 1095b84

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Install the plugin by adding the following to your `build.gradle.kts`:
1818

1919
```kotlin
2020
plugins {
21-
id("io.github.yairm210.purity-plugin") version "1.3.1"
21+
id("io.github.yairm210.purity-plugin") version "1.3.2"
2222
}
2323

2424
dependencies {
25-
implementation("io.github.yairm210:purity-annotations:1.3.1")
25+
implementation("io.github.yairm210:purity-annotations:1.3.2")
2626
}
2727
```
2828

annotations/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
group = "io.github.yairm210"
10-
version = "1.3.1"
10+
version = "1.3.2"
1111

1212
kotlin {
1313
sourceSets{

compiler-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ allprojects {
2020
}
2121

2222
group = "io.github.yairm210"
23-
version = "1.3.1"
23+
version = "1.3.2"
2424

2525
mavenPublishing {
2626
coordinates(group.toString(), "purity-compiler-plugin", version.toString())

compiler-plugin/src/main/kotlin/yairm210/purity/validation/wellknown/WellKnownNewInstanceFunctions.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ fun getCommonNewInstanceSequenceIterableFunctions(): Set<String> {
5151
"sortedWithComparator",
5252

5353
"toArray",
54-
"toCollection",
5554
"toHashSet",
5655
"toList",
5756
"toMap",

compiler-plugin/src/main/kotlin/yairm210/purity/validation/wellknown/WellKnownPureFunctions.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ package yairm210.purity.validation.wellknown
44
val wellKnownPureFunctions = setOf(
55
"kotlin.internal.ir.CHECK_NOT_NULL", // AKA !!
66
"kotlin.internal.ir.noWhenBranchMatchedException",
7+
"kotlin.internal.ir.EQEQEQ",
78
"kotlin.to",
89
"kotlin.assert",
910
"kotlin.require",
@@ -13,6 +14,7 @@ val wellKnownPureFunctions = setOf(
1314
"kotlin.lazy",
1415
"kotlin.getValue",
1516
"kotlin.error",
17+
"kotlin.repeat",
1618

1719
"kotlin.let",
1820
"kotlin.run",

compiler-plugin/src/main/kotlin/yairm210/purity/validation/wellknown/WellKnownReadonlyFunctions.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ fun getCommonSequenceIterableFunctions(): Set<String>{
199199
"take",
200200
"takeWhile",
201201
"toArray",
202-
"toCollection",
203202
"toHashSet",
204203
"toList",
205204
"toMap",

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ Install the plugin by adding the following to your `build.gradle.kts`:
1717

1818
```kotlin
1919
plugins {
20-
id("io.github.yairm210.purity-plugin") version "1.3.1"
20+
id("io.github.yairm210.purity-plugin") version "1.3.2"
2121
}
2222

2323
dependencies {
24-
implementation("io.github.yairm210:purity-annotations:1.3.1")
24+
implementation("io.github.yairm210:purity-annotations:1.3.2")
2525
}
2626
```
2727

gradle-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies {
3434

3535

3636
group = "io.github.yairm210"
37-
version = "1.3.1"
37+
version = "1.3.2"
3838

3939
gradlePlugin {
4040
website = "https://github.com/yairm210/purity"

gradle-plugin/src/main/kotlin/yairm210/purity/PurityGradlePlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class PurityGradlePlugin : KotlinCompilerPluginSupportPlugin {
3030
companion object {
3131
const val COMPILER_PLUGIN_GROUP_NAME = "io.github.yairm210"
3232
const val ARTIFACT_NAME = "purity-compiler-plugin"
33-
const val VERSION_NUMBER = "1.3.1"
33+
const val VERSION_NUMBER = "1.3.2"
3434
}
3535

3636
private var gradleExtension : PurityConfiguration = PurityConfiguration()

0 commit comments

Comments
 (0)