uqbar-project / wollok

Wollok Programming Language
GNU General Public License v3.0
60 stars 16 forks source link

Stack Overflow en el Type system #1965

Closed fdodino closed 3 years ago

fdodino commented 3 years ago

Tengo este proyecto con el último commit:

tp-objetos-1-casa-pintada-emergencymeeting.tar.gz

El error que tira con el type system activado:

java.lang.StackOverflowError
    at org.eclipse.xtend2.lib.StringConcatenation.<init>(StringConcatenation.java:97)
    at org.uqbar.project.wollok.typesystem.GenericType.toString(GenericType.java:97)
    at org.uqbar.project.wollok.typesystem.constraints.variables.GenericTypeInstance.getName(GenericTypeInstance.java:75)
    at org.uqbar.project.wollok.typesystem.constraints.variables.GenericTypeInstance.toString(GenericTypeInstance.java:130)
    at com.google.common.base.Joiner.toString(Joiner.java:453)
    at com.google.common.base.Joiner$1.toString(Joiner.java:223)
    at com.google.common.base.Joiner.appendTo(Joiner.java:106)
    at com.google.common.base.Joiner.appendTo(Joiner.java:152)
    at com.google.common.base.Joiner.join(Joiner.java:195)
    at com.google.common.base.Joiner.join(Joiner.java:185)
    at org.eclipse.xtext.xbase.lib.IteratorExtensions.join(IteratorExtensions.java:480)
    at org.eclipse.xtext.xbase.lib.IterableExtensions.join(IterableExtensions.java:441)
    at org.uqbar.project.wollok.typesystem.GenericType.toString(GenericType.java:107)
    at org.uqbar.project.wollok.typesystem.constraints.variables.GenericTypeInstance.getName(GenericTypeInstance.java:75)
    at org.uqbar.project.wollok.typesystem.constraints.variables.GenericTypeInstance.toString(GenericTypeInstance.java:130)
    at com.google.common.base.Joiner.toString(Joiner.java:453)
    at com.google.common.base.Joiner$1.toString(Joiner.java:223)
    at com.google.common.base.Joiner.appendTo(Joiner.java:106)
    at com.google.common.base.Joiner.appendTo(Joiner.java:152)
    at com.google.common.base.Joiner.join(Joiner.java:195)
    at com.google.common.base.Joiner.join(Joiner.java:185)
    at org.eclipse.xtext.xbase.lib.IteratorExtensions.join(IteratorExtensions.java:480)
    at org.eclipse.xtext.xbase.lib.IterableExtensions.join(IterableExtensions.java:441)
    at org.uqbar.project.wollok.typesystem.GenericType.toString(GenericType.java:107)
    at org.uqbar.project.wollok.typesystem.constraints.variables.GenericTypeInstance.getName(GenericTypeInstance.java:75)
    at org.uqbar.project.wollok.typesystem.constraints.variables.GenericTypeInstance.toString(GenericTypeInstance.java:130)

Fíjense si con eso les alcanza: @npasserini @PalumboN