Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
硅谷海盗
kotlin
提交
42ea4463
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,发现更多精彩内容 >>
提交
42ea4463
编写于
12月 07, 2020
作者:
M
Mikhail Glukhikh
提交者:
TeamCityServer
12月 09, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix type argument inconsistency in FirResolvedQualifier
上级
d6e144c8
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
21 addition
and
1 deletion
+21
-1
compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/TypesEligibleForSimpleVisit.kt
...resolveWithStdlib/problems/TypesEligibleForSimpleVisit.kt
+12
-0
compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/TypesEligibleForSimpleVisit.txt
...esolveWithStdlib/problems/TypesEligibleForSimpleVisit.txt
+3
-0
compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/fir/FirDiagnosticsWithStdlibTestGenerated.java
...ins/kotlin/fir/FirDiagnosticsWithStdlibTestGenerated.java
+5
-0
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/FirQualifiedNameResolver.kt
.../src/org/jetbrains/kotlin/fir/FirQualifiedNameResolver.kt
+1
-1
未找到文件。
compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/TypesEligibleForSimpleVisit.kt
0 → 100644
浏览文件 @
42ea4463
// Extracted from ReflectKotlinClass.kt
private
val
TYPES_ELIGIBLE_FOR_SIMPLE_VISIT
=
setOf
<
Class
<
*
>>(
// Primitives
java
.
lang
.
Integer
::
class
.
java
,
java
.
lang
.
Character
::
class
.
java
,
java
.
lang
.
Byte
::
class
.
java
,
java
.
lang
.
Long
::
class
.
java
,
java
.
lang
.
Short
::
class
.
java
,
java
.
lang
.
Boolean
::
class
.
java
,
java
.
lang
.
Double
::
class
.
java
,
java
.
lang
.
Float
::
class
.
java
,
// Arrays of primitives
IntArray
::
class
.
java
,
CharArray
::
class
.
java
,
ByteArray
::
class
.
java
,
LongArray
::
class
.
java
,
ShortArray
::
class
.
java
,
BooleanArray
::
class
.
java
,
DoubleArray
::
class
.
java
,
FloatArray
::
class
.
java
,
// Others
Class
::
class
.
java
,
String
::
class
.
java
)
compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/TypesEligibleForSimpleVisit.txt
0 → 100644
浏览文件 @
42ea4463
FILE: TypesEligibleForSimpleVisit.kt
private final val TYPES_ELIGIBLE_FOR_SIMPLE_VISIT: R|kotlin/collections/Set<java/lang/Class<*>>| = R|kotlin/collections/setOf|<R|java/lang/Class<*>|>(vararg(<getClass>(Q|java/lang/Integer|).R|kotlin/jvm/java|<R|java/lang/Integer|>, <getClass>(Q|java/lang/Character|).R|kotlin/jvm/java|<R|java/lang/Character|>, <getClass>(Q|java/lang/Byte|).R|kotlin/jvm/java|<R|java/lang/Byte|>, <getClass>(Q|java/lang/Long|).R|kotlin/jvm/java|<R|java/lang/Long|>, <getClass>(Q|java/lang/Short|).R|kotlin/jvm/java|<R|java/lang/Short|>, <getClass>(Q|java/lang/Boolean|).R|kotlin/jvm/java|<R|java/lang/Boolean|>, <getClass>(Q|java/lang/Double|).R|kotlin/jvm/java|<R|java/lang/Double|>, <getClass>(Q|java/lang/Float|).R|kotlin/jvm/java|<R|java/lang/Float|>, <getClass>(Q|kotlin/IntArray|).R|kotlin/jvm/java|<R|kotlin/IntArray|>, <getClass>(Q|kotlin/CharArray|).R|kotlin/jvm/java|<R|kotlin/CharArray|>, <getClass>(Q|kotlin/ByteArray|).R|kotlin/jvm/java|<R|kotlin/ByteArray|>, <getClass>(Q|kotlin/LongArray|).R|kotlin/jvm/java|<R|kotlin/LongArray|>, <getClass>(Q|kotlin/ShortArray|).R|kotlin/jvm/java|<R|kotlin/ShortArray|>, <getClass>(Q|kotlin/BooleanArray|).R|kotlin/jvm/java|<R|kotlin/BooleanArray|>, <getClass>(Q|kotlin/DoubleArray|).R|kotlin/jvm/java|<R|kotlin/DoubleArray|>, <getClass>(Q|kotlin/FloatArray|).R|kotlin/jvm/java|<R|kotlin/FloatArray|>, <getClass>(Q|java/lang/Class|).R|kotlin/jvm/java|<R|java/lang/Class<*>|>, <getClass>(Q|kotlin/String|).R|kotlin/jvm/java|<R|kotlin/String|>))
private get(): R|kotlin/collections/Set<java/lang/Class<*>>|
compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/fir/FirDiagnosticsWithStdlibTestGenerated.java
浏览文件 @
42ea4463
...
...
@@ -1239,6 +1239,11 @@ public class FirDiagnosticsWithStdlibTestGenerated extends AbstractFirDiagnostic
runTest
(
"compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/receiverResolutionInLambda.kt"
);
}
@TestMetadata
(
"TypesEligibleForSimpleVisit.kt"
)
public
void
testTypesEligibleForSimpleVisit
()
throws
Exception
{
runTest
(
"compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/TypesEligibleForSimpleVisit.kt"
);
}
@TestMetadata
(
"weakHashMap.kt"
)
public
void
testWeakHashMap
()
throws
Exception
{
runTest
(
"compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/weakHashMap.kt"
);
...
...
compiler/fir/resolve/src/org/jetbrains/kotlin/fir/FirQualifiedNameResolver.kt
浏览文件 @
42ea4463
...
...
@@ -48,7 +48,7 @@ class FirQualifiedNameResolver(private val components: BodyResolveComponents) {
if
(
callee
.
name
.
isSpecial
)
{
qualifierStack
.
clear
()
}
else
{
qualifierStack
.
add
(
NameWithTypeArguments
(
callee
.
name
,
typeArguments
))
qualifierStack
.
add
(
NameWithTypeArguments
(
callee
.
name
,
typeArguments
.
toList
()
))
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录