Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

UndesirableTypeInference false positive? #56

Open
benblack86 opened this issue Apr 19, 2017 · 0 comments
Open

UndesirableTypeInference false positive? #56

benblack86 opened this issue Apr 19, 2017 · 0 comments

Comments

@benblack86
Copy link

For example, the below cause the error "Inferred type Map[String,Any]. (This might not be what you've intended)". Since the method is defined as returning Map[String, Any] I would think this is acceptable code.

val exifMap = parseExif()
def parseExif(): Map[String, Any] = {}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant