nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
aa7956f
59792fb
)
Merge remote-tracking branch 'lucas/strings-fix'
author
Jean Privat
<jean@pryen.org>
Wed, 10 Jul 2013 13:57:56 +0000
(15:57 +0200)
committer
Jean Privat
<jean@pryen.org>
Wed, 10 Jul 2013 13:57:56 +0000
(15:57 +0200)
1
2
lib/standard/string.nit
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
lib/standard/string.nit
index
d1c4b7c
,
e707454
..
dc00916
---
1
/
lib/standard/string.nit
---
2
/
lib/standard/string.nit
+++ b/
lib/standard/string.nit
@@@
-418,15
-496,16
+496,11
@@@
class Strin
return false
end
- currIdSelf += 1
- currIdOther += 1
+ curr_id_self += 1
+ curr_id_other += 1
end
- if self._length < s._length then
- return true
- else
- return false
- end
- if my_length != its_length then
- if my_length < its_length then return true
- return false
- end
-
- return false
++ return my_length < its_length
end
# The concatenation of `self' with `r'