1991
DOI: 10.7146/dpb.v20i345.6575
|View full text |Cite
|
Sign up to set email alerts
|

Object-Oriented Type Inference

Abstract: We present a new approach to inferring types in untyped object-oriented programs with inheritance, assignments, and late binding. It guarantees that all messages are understood, annotates the program with type information, allows polymorphic methods, and can be used as the basis of an optimizing compiler.Types are finite sets of classes and subtyping is set inclusion. Using a trace graph, our algorithm constructs a set of conditional type constraints and computes the least solution by least fixed-point derivat… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
2

Citation Types

0
151
0

Year Published

1995
1995
2022
2022

Publication Types

Select...
6
3

Relationship

2
7

Authors

Journals

citations
Cited by 80 publications
(151 citation statements)
references
References 20 publications
(28 reference statements)
0
151
0
Order By: Relevance
“…Our work, as well as [25], falls in the category of type-based and constraintbased analysis, originally proposed by Palsberg and Schwartzbach [20].…”
Section: Related Workmentioning
confidence: 99%
“…Our work, as well as [25], falls in the category of type-based and constraintbased analysis, originally proposed by Palsberg and Schwartzbach [20].…”
Section: Related Workmentioning
confidence: 99%
“…One of the most important analyses for object-oriented languages is class analysis that computes an (over-)approximation of the set of classes that an expression can evaluate to at run-time 1,3,12,23,24]. Class analysis forms the foundation for static type checking for OO programs aimed at guaranteeing that methods are only invoked on objects that implement s u c h a method.…”
Section: Introductionmentioning
confidence: 99%
“…In [11] we defined the basic type inference framework, and in [10] we demonstrated an efficient implementation.…”
Section: Introductionmentioning
confidence: 99%