You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data: ArrayList<ArrayList<Int>>
data = ArrayList<Int> new()
data add(ArrayList<Int> new)
data[0] add(1)
This can be compiled with rock, and sometimes works. But this code is illegal. Because libgc will collect elements at anytime. So we will get a random segmentation fault.
We should at least throw a warning on this.
The text was updated successfully, but these errors were encountered:
fasterthanlime
changed the title
Rock accpets assignment between generics with different type
Rock accepts assignment between generics with different type
Jul 9, 2015
interesting:
This can be compiled with rock, and sometimes works. But this code is illegal. Because libgc will collect elements at anytime. So we will get a random segmentation fault.
We should at least throw a warning on this.
The text was updated successfully, but these errors were encountered: