From b3b2a5eb9173d0584272a4e30e3e5613e2b952f6 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Sun, 11 Dec 2016 21:17:48 +0300 Subject: [PATCH] Update ranges codegen light-analysis testData. --- .../light-analysis/ranges/contains/inComparableRange.txt | 5 +++++ .../codegen/light-analysis/ranges/safeCallRangeTo.txt | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/compiler/testData/codegen/light-analysis/ranges/contains/inComparableRange.txt b/compiler/testData/codegen/light-analysis/ranges/contains/inComparableRange.txt index 77d5c06a8ac..74ee5c65ac4 100644 --- a/compiler/testData/codegen/light-analysis/ranges/contains/inComparableRange.txt +++ b/compiler/testData/codegen/light-analysis/ranges/contains/inComparableRange.txt @@ -11,4 +11,9 @@ public final class ComparablePair { public final class InComparableRangeKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String + public final static method check(p0: double, p1: double, p2: double): boolean + public final static method check(p0: float, p1: float, p2: float): boolean + public final static @org.jetbrains.annotations.NotNull method genericRangeTo(@org.jetbrains.annotations.NotNull p0: java.lang.Comparable, @org.jetbrains.annotations.NotNull p1: java.lang.Comparable): kotlin.ranges.ClosedRange + public final static @org.jetbrains.annotations.NotNull method rangeTo(p0: double, p1: double): kotlin.ranges.ClosedRange + public final static @org.jetbrains.annotations.NotNull method rangeTo(p0: float, p1: float): kotlin.ranges.ClosedComparableRange } diff --git a/compiler/testData/codegen/light-analysis/ranges/safeCallRangeTo.txt b/compiler/testData/codegen/light-analysis/ranges/safeCallRangeTo.txt index adab9b0f743..59343a193cc 100644 --- a/compiler/testData/codegen/light-analysis/ranges/safeCallRangeTo.txt +++ b/compiler/testData/codegen/light-analysis/ranges/safeCallRangeTo.txt @@ -2,8 +2,8 @@ public final class SafeCallRangeToKt { public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String public final static @org.jetbrains.annotations.Nullable method byteRange(@org.jetbrains.annotations.Nullable p0: java.lang.Byte, p1: byte): kotlin.ranges.IntRange public final static @org.jetbrains.annotations.Nullable method charRange(@org.jetbrains.annotations.Nullable p0: java.lang.Character, p1: char): kotlin.ranges.CharRange - public final static @org.jetbrains.annotations.Nullable method dougleRange(@org.jetbrains.annotations.Nullable p0: java.lang.Double, p1: double): kotlin.ranges.ClosedRange - public final static @org.jetbrains.annotations.Nullable method floatRange(@org.jetbrains.annotations.Nullable p0: java.lang.Float, p1: float): kotlin.ranges.ClosedRange + public final static @org.jetbrains.annotations.Nullable method dougleRange(@org.jetbrains.annotations.Nullable p0: java.lang.Double, p1: double): kotlin.ranges.ClosedComparableRange + public final static @org.jetbrains.annotations.Nullable method floatRange(@org.jetbrains.annotations.Nullable p0: java.lang.Float, p1: float): kotlin.ranges.ClosedComparableRange public final static @org.jetbrains.annotations.Nullable method intRange(@org.jetbrains.annotations.Nullable p0: java.lang.Integer, p1: int): kotlin.ranges.IntRange public final static @org.jetbrains.annotations.Nullable method longRange(@org.jetbrains.annotations.Nullable p0: java.lang.Long, p1: long): kotlin.ranges.LongRange public final static @org.jetbrains.annotations.Nullable method shortRange(@org.jetbrains.annotations.Nullable p0: java.lang.Short, p1: short): kotlin.ranges.IntRange