Skip to content

Conversation

@meyerbaptiste
Copy link
Contributor

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Since #25605, types are now extracted from constructors. But, IMO, types should not be extracted when constructor is private.

cc @lyrixx

@meyerbaptiste meyerbaptiste force-pushed the fix_extract_from_private_constructor branch from 5cc429d to ef0b562 Compare April 3, 2018 16:31
@lyrixx
Copy link
Member

lyrixx commented Apr 3, 2018

I'm not against this change, but to me it's not an error. As we can see in you test, the string var is a string.

@meyerbaptiste
Copy link
Contributor Author

Right, after reflection with @dunglas, we are not so sure anymore! I prefer to close for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants