On the Decidability of Subtyping with Bounded Existential Types

被引:0
|
作者
Wehr, Stefan [1 ]
Thiemann, Peter [1 ]
机构
[1] Univ Freiburg, Inst Informat, D-7800 Freiburg, Germany
关键词
!text type='JAVA']JAVA[!/text; WILDCARDS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Bounded existential types are a powerful language feature for modeling partial data abstraction and information hiding. However, existentials do not mingle well with subtyping as found in current object-oriented languages: the subtyping relation is already undecidable for very restrictive settings. This paper considers two subtyping relations defined by extracting the features specific to existentials from current language proposals (JavaGI. WildFJ, and Scala.) and shows that both subtyping relations are undecidable. One of the two subtyping relations remains undecidable even if bounded existential types are removed. With the goal of regaining decidable type checking for the JavaGI language, the paper also discusses various restrictions including the elimination of bounded existentials from the language as well as possible amendments to regain sonic of their features.
引用
收藏
页码:111 / 127
页数:17
相关论文
共 50 条