Skip to content

Annotations for some PrintStream methods #120

Open
WolframPfeifer wants to merge 2 commits into
opprop:masterfrom
WolframPfeifer:printlnAnnotations
Open

Annotations for some PrintStream methods #120
WolframPfeifer wants to merge 2 commits into
opprop:masterfrom
WolframPfeifer:printlnAnnotations

Conversation

@WolframPfeifer

Copy link
Copy Markdown

This PR adds @Any annotations for the parameters of print/println methods in class PrintStream, such that for example debugging statements with System.out.println(s) can be type checked correctly.

@wmdietl wmdietl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I first thought to move the java.io package to the end, but it's probably nicer to keep the packages sorted alphabetically. So location is good.

Comment thread src/main/java/universe/jdk.astub Outdated
Co-authored-by: Werner Dietl <wdietl@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants