Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
硅谷海盗
kotlin
提交
83144d59
K
kotlin
项目概览
硅谷海盗
/
kotlin
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kotlin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
83144d59
编写于
6月 09, 2020
作者:
P
Pavel Kirpichenkov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix tests
上级
dc34d355
变更
27
隐藏空白更改
内联
并排
Showing
27 changed file
with
27 addition
and
27 deletion
+27
-27
idea/testData/resolve/partialBodyResolve/For2.dump
idea/testData/resolve/partialBodyResolve/For2.dump
+1
-1
idea/testData/resolve/partialBodyResolve/For2.kt
idea/testData/resolve/partialBodyResolve/For2.kt
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsError.dump
idea/testData/resolve/partialBodyResolve/IfNotIsError.dump
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsError.kt
idea/testData/resolve/partialBodyResolve/IfNotIsError.kt
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsErrorQualifier.dump
...ata/resolve/partialBodyResolve/IfNotIsErrorQualifier.dump
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsErrorQualifier.kt
...tData/resolve/partialBodyResolve/IfNotIsErrorQualifier.kt
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsMyError.dump
idea/testData/resolve/partialBodyResolve/IfNotIsMyError.dump
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsMyError.kt
idea/testData/resolve/partialBodyResolve/IfNotIsMyError.kt
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsMyErrorWithAliasImport.dump
...lve/partialBodyResolve/IfNotIsMyErrorWithAliasImport.dump
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsMyErrorWithAliasImport.kt
...solve/partialBodyResolve/IfNotIsMyErrorWithAliasImport.kt
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsNothingProp.dump
...stData/resolve/partialBodyResolve/IfNotIsNothingProp.dump
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsNothingProp.kt
...testData/resolve/partialBodyResolve/IfNotIsNothingProp.kt
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsReturn.dump
idea/testData/resolve/partialBodyResolve/IfNotIsReturn.dump
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsReturn.kt
idea/testData/resolve/partialBodyResolve/IfNotIsReturn.kt
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsReturn2.dump
idea/testData/resolve/partialBodyResolve/IfNotIsReturn2.dump
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsReturn2.kt
idea/testData/resolve/partialBodyResolve/IfNotIsReturn2.kt
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsThrow.dump
idea/testData/resolve/partialBodyResolve/IfNotIsThrow.dump
+1
-1
idea/testData/resolve/partialBodyResolve/IfNotIsThrow.kt
idea/testData/resolve/partialBodyResolve/IfNotIsThrow.kt
+1
-1
idea/testData/resolve/partialBodyResolve/LambdaReturnsNothing2.dump
...ata/resolve/partialBodyResolve/LambdaReturnsNothing2.dump
+1
-1
idea/testData/resolve/partialBodyResolve/LambdaReturnsNothing2.kt
...tData/resolve/partialBodyResolve/LambdaReturnsNothing2.kt
+1
-1
idea/testData/resolve/partialBodyResolve/LocalNothingFun.completion
...ata/resolve/partialBodyResolve/LocalNothingFun.completion
+1
-1
idea/testData/resolve/partialBodyResolve/LocalNothingFun.dump
.../testData/resolve/partialBodyResolve/LocalNothingFun.dump
+1
-1
idea/testData/resolve/partialBodyResolve/LocalNothingFun.kt
idea/testData/resolve/partialBodyResolve/LocalNothingFun.kt
+1
-1
idea/testData/resolve/partialBodyResolve/ReturnLambda.dump
idea/testData/resolve/partialBodyResolve/ReturnLambda.dump
+1
-1
idea/testData/resolve/partialBodyResolve/ReturnLambda.kt
idea/testData/resolve/partialBodyResolve/ReturnLambda.kt
+1
-1
idea/testData/resolve/partialBodyResolve/ThisQualifiedAutoCast.dump
...ata/resolve/partialBodyResolve/ThisQualifiedAutoCast.dump
+1
-1
idea/testData/resolve/partialBodyResolve/ThisQualifiedAutoCast.kt
...tData/resolve/partialBodyResolve/ThisQualifiedAutoCast.kt
+1
-1
未找到文件。
idea/testData/resolve/partialBodyResolve/For2.dump
浏览文件 @
83144d59
...
...
@@ -7,5 +7,5 @@ fun foo(p: Any?, p1: Any?) {
/* STATEMENT DELETED: print(p1!!) */
}
<caret>p.length
()
<caret>p.length
}
idea/testData/resolve/partialBodyResolve/For2.kt
浏览文件 @
83144d59
...
...
@@ -5,5 +5,5 @@ fun foo(p: Any?, p1: Any?) {
print
(
p1
!!
)
}
<
caret
>
p
.
length
()
<
caret
>
p
.
length
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/IfNotIsError.dump
浏览文件 @
83144d59
...
...
@@ -4,5 +4,5 @@ fun foo(p: Any) {
if (p !is String) {
error("Not String")
}
println(<caret>p.length
()
)
println(<caret>p.length)
}
idea/testData/resolve/partialBodyResolve/IfNotIsError.kt
浏览文件 @
83144d59
...
...
@@ -2,5 +2,5 @@ fun foo(p: Any) {
if
(
p
!
is
String
)
{
error
(
"Not String"
)
}
println
(<
caret
>
p
.
length
()
)
println
(<
caret
>
p
.
length
)
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/IfNotIsErrorQualifier.dump
浏览文件 @
83144d59
...
...
@@ -4,5 +4,5 @@ fun foo(p: Any) {
if (p !is String) {
kotlin.error("Not String")
}
println(<caret>p.length
()
)
println(<caret>p.length)
}
idea/testData/resolve/partialBodyResolve/IfNotIsErrorQualifier.kt
浏览文件 @
83144d59
...
...
@@ -2,5 +2,5 @@ fun foo(p: Any) {
if
(
p
!
is
String
)
{
kotlin
.
error
(
"Not String"
)
}
println
(<
caret
>
p
.
length
()
)
println
(<
caret
>
p
.
length
)
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/IfNotIsMyError.dump
浏览文件 @
83144d59
...
...
@@ -6,5 +6,5 @@ fun foo(p: Any) {
if (p !is String) {
myError()
}
println(<caret>p.length
()
)
println(<caret>p.length)
}
idea/testData/resolve/partialBodyResolve/IfNotIsMyError.kt
浏览文件 @
83144d59
...
...
@@ -4,5 +4,5 @@ fun foo(p: Any) {
if
(
p
!
is
String
)
{
myError
()
}
println
(<
caret
>
p
.
length
()
)
println
(<
caret
>
p
.
length
)
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/IfNotIsMyErrorWithAliasImport.dump
浏览文件 @
83144d59
...
...
@@ -8,5 +8,5 @@ fun foo(p: Any) {
if (p !is String) {
myNothingFun()
}
println(<caret>p.length
()
)
println(<caret>p.length)
}
idea/testData/resolve/partialBodyResolve/IfNotIsMyErrorWithAliasImport.kt
浏览文件 @
83144d59
...
...
@@ -6,5 +6,5 @@ fun foo(p: Any) {
if
(
p
!
is
String
)
{
myNothingFun
()
}
println
(<
caret
>
p
.
length
()
)
println
(<
caret
>
p
.
length
)
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/IfNotIsNothingProp.dump
浏览文件 @
83144d59
...
...
@@ -7,5 +7,5 @@ fun foo(p: Any) {
if (p !is String) {
prop
}
println(<caret>p.length
()
)
println(<caret>p.length)
}
idea/testData/resolve/partialBodyResolve/IfNotIsNothingProp.kt
浏览文件 @
83144d59
...
...
@@ -5,5 +5,5 @@ fun foo(p: Any) {
if
(
p
!
is
String
)
{
prop
}
println
(<
caret
>
p
.
length
()
)
println
(<
caret
>
p
.
length
)
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/IfNotIsReturn.dump
浏览文件 @
83144d59
...
...
@@ -10,5 +10,5 @@ fun foo(p: Any?) {
return
}
}
println(<caret>p.length
()
)
println(<caret>p.length)
}
idea/testData/resolve/partialBodyResolve/IfNotIsReturn.kt
浏览文件 @
83144d59
...
...
@@ -8,5 +8,5 @@ fun foo(p: Any?) {
return
}
}
println
(<
caret
>
p
.
length
()
)
println
(<
caret
>
p
.
length
)
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/IfNotIsReturn2.dump
浏览文件 @
83144d59
...
...
@@ -4,5 +4,5 @@ class C(public val v: Any)
fun foo(c: C) {
if (c.v !is String) return
println(c.<caret>v.length
()
)
println(c.<caret>v.length)
}
idea/testData/resolve/partialBodyResolve/IfNotIsReturn2.kt
浏览文件 @
83144d59
...
...
@@ -2,5 +2,5 @@ class C(public val v: Any)
fun
foo
(
c
:
C
)
{
if
(
c
.
v
!
is
String
)
return
println
(
c
.<
caret
>
v
.
length
()
)
println
(
c
.<
caret
>
v
.
length
)
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/IfNotIsThrow.dump
浏览文件 @
83144d59
...
...
@@ -4,5 +4,5 @@ fun foo(p: Any) {
if (p !is String) {
throw IllegalArgumentException()
}
println(<caret>p.length
()
)
println(<caret>p.length)
}
idea/testData/resolve/partialBodyResolve/IfNotIsThrow.kt
浏览文件 @
83144d59
...
...
@@ -2,5 +2,5 @@ fun foo(p: Any) {
if
(
p
!
is
String
)
{
throw
IllegalArgumentException
()
}
println
(<
caret
>
p
.
length
()
)
println
(<
caret
>
p
.
length
)
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/LambdaReturnsNothing2.dump
浏览文件 @
83144d59
...
...
@@ -5,5 +5,5 @@ fun foo(p: String?, errorHandler: () -> Nothing) {
errorHandler()
}
<caret>p.length
()
<caret>p.length
}
idea/testData/resolve/partialBodyResolve/LambdaReturnsNothing2.kt
浏览文件 @
83144d59
...
...
@@ -3,5 +3,5 @@ fun foo(p: String?, errorHandler: () -> Nothing) {
errorHandler
()
}
<
caret
>
p
.
length
()
<
caret
>
p
.
length
}
idea/testData/resolve/partialBodyResolve/LocalNothingFun.completion
浏览文件 @
83144d59
...
...
@@ -8,5 +8,5 @@ fun foo(p: String?, p1: Any?) {
if (p == null) {
localError()
}
<caret>p.length
()
<caret>p.length
}
idea/testData/resolve/partialBodyResolve/LocalNothingFun.dump
浏览文件 @
83144d59
...
...
@@ -8,5 +8,5 @@ fun foo(p: String?, p1: Any?) {
if (p == null) {
localError()
}
<caret>p.length
()
<caret>p.length
}
idea/testData/resolve/partialBodyResolve/LocalNothingFun.kt
浏览文件 @
83144d59
...
...
@@ -6,5 +6,5 @@ fun foo(p: String?, p1: Any?) {
if
(
p
==
null
)
{
localError
()
}
<
caret
>
p
.
length
()
<
caret
>
p
.
length
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/ReturnLambda.dump
浏览文件 @
83144d59
...
...
@@ -7,5 +7,5 @@ fun foo(p: String?): () -> String {
"a"
}
}
<caret>p.length
()
<caret>p.length
}
idea/testData/resolve/partialBodyResolve/ReturnLambda.kt
浏览文件 @
83144d59
...
...
@@ -5,5 +5,5 @@ fun foo(p: String?): () -> String {
"a"
}
}
<
caret
>
p
.
length
()
<
caret
>
p
.
length
}
\ No newline at end of file
idea/testData/resolve/partialBodyResolve/ThisQualifiedAutoCast.dump
浏览文件 @
83144d59
...
...
@@ -9,6 +9,6 @@ class C(val s: String?) {
print(this.s!!)
}
<caret>s.length
()
<caret>s.length
}
}
idea/testData/resolve/partialBodyResolve/ThisQualifiedAutoCast.kt
浏览文件 @
83144d59
...
...
@@ -7,6 +7,6 @@ class C(val s: String?) {
print
(
this
.
s
!!
)
}
<
caret
>
s
.
length
()
<
caret
>
s
.
length
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录