about summary refs log tree commit diff
path: root/src/test/compile-fail/minus-string.rs
AgeCommit message (Collapse)AuthorLines
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-07-14Treat bare vector and string literals as fixed length vecs. Closes #2922.Michael Sullivan-1/+1
2012-07-13Change the pretty printer to print vstores for strs in prefix notation.Michael Sullivan-1/+1
2012-07-12Make str be treated as str/~.Michael Sullivan-1/+1
2012-01-26Allow operator overloading of the indexing operatorMarijn Haverbeke-1/+1
The method `op_index` (which takes a single argument) is used for this. Issue #1520
2012-01-26First stab at operator overloadingMarijn Haverbeke-1/+1
When no built-in interpretation is found for one of the operators mentioned below, the typechecker will try to turn it into a method call with the name written next to it. For binary operators, the method will be called on the LHS with the RHS as only parameter. Binary: + op_add - op_sub * op_mul / op_div % op_rem & op_and | op_or ^ op_xor << op_shift_left >> op_shift_right >>> op_ashift_right Unary: - op_neg ! op_not Overloading of the indexing ([]) operator isn't finished yet. Issue #1520
2011-12-28On second thought, re-land pull request #1385 with backquotes; easier to ↵Graydon Hoare-1/+1
grep, can change in the future.
2011-12-25Use singlequotes in the typechecker too, to distinguish code and EnglishLenny222-1/+1
2011-09-02Print the type of istrs as 'str' in error messages. Issue #855Brian Anderson-1/+1
2011-09-01Fix the error-patterns in 2 cfail tests. Issue #855Brian Anderson-1/+1
2011-08-20ReformatBrian Anderson-3/+1
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-12Properly typecheck unary minusMarijn Haverbeke-0/+5
Closes #813