Don't allow method names to overflow.

This commit is contained in:
Bob Nystrom
2013-12-06 20:09:43 -08:00
parent 6a0d550562
commit 3f24515496
6 changed files with 54 additions and 25 deletions
+7
View File
@@ -0,0 +1,7 @@
class Foo {
thisHasAMethodNameThatIsExactly64CharactersLongWhichIsTheMaximum {
return "result"
}
}
io.write(Foo.new.thisHasAMethodNameThatIsExactly64CharactersLongWhichIsTheMaximum) // expect: result