-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ts object literal #1558
Ts object literal #1558
Conversation
…-object-literal
...oject.wollok.tests/src/org/uqbar/project/wollok/tests/typesystem/xpect/objectLiterals.wlk.xt
Outdated
Show resolved
Hide resolved
// XPECT! warnings --> "{ cena } doesn't match with { habla } ... TO CHECK" | ||
// method hacerHablarAHambriento() = self.hacerHablar(hambriento) | ||
|
||
// XPECT methodType at hacerHablar(personalidad) --> (({ habla ; cena }|{ habla })) => String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fino y tal vez para otro issue pero el tipo estructural (({ habla ; cena }|{ habla }))
debería poder reducirse a { habla }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
...oject.wollok.tests/src/org/uqbar/project/wollok/tests/typesystem/xpect/objectLiterals.wlk.xt
Show resolved
Hide resolved
Todo esto se ve piola pero hay algún error que hace que no compile el TS. |
183fd2e
to
f92e87e
Compare
No compilaba por un extension method de WMethodContainerExtensions que se había renombrado en dev, muy raro, por ahora con el merge se arregló. |
Fix #1523
(Any) => Any
por el punto 1 del mismo comentario en el issue TS for Object Literals error #1523