Commit Graph
75 Commits
Author SHA1 Message Date
Federico Bond f2f1462585 Add hex numbers with uppercase X to grammar.txt 2018-09-02 12:57:21 -03:00
Federico Bond 4e037281ac Error on duplicated super constructor calls 2018-04-09 11:22:35 +02:00
Federico Bond b79531bebf Improve error message when trying to shift by fractional number 2018-03-22 10:05:49 -03:00
Federico Bond d7532f7b9c Convert static SourceReferenceFormatter functions to member ones 2018-02-19 15:04:22 +01:00
Federico Bond a320ffeafd Avoid output messages size blow-up using huge bignums literals 2018-02-12 22:53:33 +00:00
Federico Bond 75a3a707a2 Fix segfault with undeclared array types 2018-02-11 21:40:41 -03:00
Federico Bond aef9518039 Add more test cases for reference resolving error handling 2018-02-02 14:09:32 -03:00
Federico Bond 600e66e605 Replace some fatal errors when resolving references with normal ones 2018-02-02 14:09:32 -03:00
Federico Bond a0771691ff Improve error message for wrong struct initialization (#3359) 2018-01-04 11:24:39 +01:00
Federico Bond be065a1243 grammar.txt: Add optional storage location to parameters 2018-01-04 01:47:07 -03:00
Federico Bond 088d0e5dc1 docs: Improve assembly grammar definition 2017-12-24 04:30:49 -03:00
Federico Bond 14fd647b85 Fix event parsing. Refs #3175 2017-11-22 23:08:12 -03:00
Federico Bond 58a0f09f8e Improve rule for decimal numbers in grammar.txt 2017-11-15 17:11:45 -03:00
Federico Bond 3cd6ac418a Add missing name resolver tests 2017-10-26 14:13:33 -03:00
Federico Bond ae91510765 Improve cmdline error output 2017-10-05 15:48:14 -03:00
Federico Bond eea88f33aa Use local variables inside bash functions 2017-10-05 15:21:16 -03:00
Federico Bond cd420dc0bc cmdlineTests: print solc output instead of contract code on error 2017-10-05 15:21:16 -03:00
Federico Bond 76d3d24842 Do not consider shadowing in variable names inside event declarations 2017-10-04 13:30:26 -03:00
Federico Bond 2b82352692 Disallow non-pure constant state variables in 0.5.0 2017-10-03 15:30:16 +01:00
Federico Bond 1e7b6875b7 Extract duplicate function or event finding logic 2017-09-29 19:45:56 -03:00
Federico Bond 6d95447955 Emit error when declaring event with same name and arguments twice 2017-09-29 19:17:31 -03:00
Federico Bond 3571db6e3f Avoid duplicate errors due to function overrides 2017-08-11 22:45:26 +01:00
Federico Bond d4997dd9a3 Use a secondary location for function override errors 2017-08-11 22:45:25 +01:00
Federico Bond a6949851f3 Refactor function override check to remove duplicate logic 2017-08-11 22:45:25 +01:00
Federico Bond f0dc572055 Improve and add missing tests 2017-08-11 22:45:25 +01:00
Federico Bond ff5bb54e3c Use fully qualified name of super in message 2017-08-11 22:45:25 +01:00
Federico Bond a5ceaac8df Improve override changes signature error message 2017-08-11 22:45:25 +01:00
Federico Bond a8c047f48d Enforce commas in tuple syntax 2017-08-11 17:28:48 +01:00
Federico Bond da917333d9 Fix error message formatting 2017-07-12 23:59:45 -03:00
Federico Bond f20b150f38 Add type error when attempting value transfer to a non-payable contract 2017-07-12 23:57:53 -03:00
Federico Bond 70fd5c1770 Warn deprecated usage of parameter names in function types 2017-06-26 15:39:01 -03:00
Federico Bond 7a3ea61ffd Warn if decimal literals are used in a bytesXX context
Fixes #2349
2017-06-23 23:21:19 -03:00
Federico Bond 0fb1621a98 Fix address literals not being treated as compile-time constants
The early return implemented for address literals in TypeChecker was
preventing the isPure annotation from getting applied. Closes #2441
2017-06-23 11:19:57 +02:00
Federico Bond 9fc4c877d3 Fix and improve grammar.txt 2017-06-22 13:55:08 -03:00
Federico Bond f0f1e5abfa grammar.txt: Fix grammar for f.gas(p).value(q)() style calls 2017-06-22 13:54:05 -03:00
Federico Bond 0f8ad1d68f Fix segmentation fault with constant function parameters 2017-06-21 22:46:27 -03:00
Federico Bond 1e3b45d61e Fix grammar for tuple expressions 2017-06-19 17:16:45 -03:00
Federico Bond d170ceaf3d Display error if payable or constant is specified multiple times 2017-06-17 12:21:46 -03:00
Federico Bond 0eaae03bbf Try to recover from parser errors where possible 2017-06-15 21:14:05 -03:00
Federico Bond 60bfae75e5 Improve error reporting of trailing commas 2017-06-15 13:10:08 -03:00
Federico Bond fd8365df08 Forbid trailing commas in named arguments 2017-06-14 00:15:27 -03:00
Federico Bond 8e62df0436 Add .editorconfig file 2017-05-19 16:05:07 -03:00
Federico Bond e6f13353f2 Fix PostTypeChecker retaining state across contracts 2017-04-08 18:45:15 -03:00
Federico Bond 9409edb409 Add missing header for boost::noncopyable 2017-03-03 11:47:22 -03:00
Federico Bond 818083e705 Replace deprecated BOOST_MESSAGE with BOOST_TEST_MESSAGE 2017-03-03 11:47:05 -03:00
Federico Bond 75d59b1adb Update the sphinx highlighting rules 2017-02-13 12:05:03 -05:00
Federico Bond 1fc42d733d grammar.txt: Add rule for tuple destructuring 2017-02-08 12:00:30 -05:00
Federico Bond d40ae663ec Fix typo in comment 2017-01-18 12:43:23 -03:00
Federico Bond 26eff0e0d8 grammar.txt: Replace Identifier for Typename in NewExpression 2017-01-11 01:35:29 -03:00
Federico Bond c15b0fb596 grammar.txt: Add named function arguments 2017-01-11 01:33:55 -03:00
Federico Bond d61b911a3a grammar.txt: Move StorageLocation? up to VariableDeclaration 2017-01-11 01:33:33 -03:00
Federico Bond 584356e7f6 Rename contractName to typeName when parsing new expression 2017-01-04 23:09:10 -03:00
Federico Bond 82b9797428 Add ElementaryTypeNameExpression to grammar.txt 2017-01-02 11:45:12 -03:00
Federico Bond 04af994bf5 Add parsers and grammars to documentation 2017-01-02 10:13:41 -03:00
Federico Bond 6955b8f7b9 Remove wrong syntax highlighting in docs 2016-12-28 17:32:10 -03:00
Federico Bond 1f80dbb39a Add missing right-hand side expression for shifts 2016-12-28 12:53:40 -03:00
Federico Bond 28550ac9ff Add UserDefinedTypeName to grammar.txt 2016-12-27 23:08:57 -03:00
Federico Bond 890a8818b5 Add unimplemented functions to grammar 2016-12-26 22:57:00 -03:00
Federico Bond 507525be5f Fix NumberLiteral rule for hex numbers 2016-12-24 13:10:51 -03:00
Federico Bond 2a7b01982c Fix StorageLocation position for ArrayTypeName rule in grammar 2016-12-24 13:00:11 -03:00
Federico Bond 5148de3ed7 Fix mapping syntax in docs 2016-12-21 19:27:31 -03:00
Federico Bond de720e643d Improve error message when trying to modify constant variables 2016-12-13 00:32:37 -03:00
Federico Bond 9ed65f2ab9 Include visibility level for functions in AST 2016-12-12 16:21:57 -03:00
Federico Bond b6fcc5ffb0 Fix typos in comments 2016-12-11 12:11:04 -03:00
Federico Bond df76230240 Fix names of JSON AST nodes 2016-12-11 02:07:08 -03:00
Federico Bond dac95ce398 Remove unused variable inputFiles 2016-12-11 00:41:41 -03:00
Federico Bond 05139500fb Warn about using msg.value in non-payable function 2016-12-08 16:22:13 -03:00
Federico Bond 926a252961 Remove duplicate Identifier from AssemblyItem grammar rule 2016-12-07 22:00:16 -03:00
Federico Bond 72f9a4a73e Cleanup and fix scripts/isolate_tests.py 2016-12-06 19:21:38 -03:00
Federico Bond 7a46e15efd Rename isolateTests.py script to isolate_tests.py 2016-12-06 19:21:10 -03:00
Federico Bond 70d246c834 Migrate remaining source code in tests to R literals 2016-12-03 17:52:51 -03:00
Federico Bond 29e304d3bc Fix typos (existant -> existent) 2016-12-01 01:29:30 -03:00
Federico Bond 6ce41b566d Use more R string literals in tests 2016-12-01 00:50:15 -03:00
Federico Bond a97befb911 Remove macOS Sierra note from install_deps.sh 2016-11-11 09:28:23 -03:00
Federico Bond 739ee88fa7 Add clarification for block.blockhash 2016-11-01 20:03:20 -03:00