Skip to content

Annotations for some PrintStream methods #120

Open
WolframPfeifer wants to merge 2 commits intoopprop:masterfrom
WolframPfeifer:printlnAnnotations
Open

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

Conversation

@WolframPfeifer
Copy link

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.

Copy link
Member

@wmdietl wmdietl left a comment

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.

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