subtly
c298186631
Fix for compiling w/xcode on 10.9
Been manually patching this -- submitting fix to resolve #2451 .
10 years ago
Liana Husikyan
e5ffefeab8
changed implementation according to notes from code review
10 years ago
Liana Husikyan
e8bc2e7667
contract documentation is now parsing during compilation and not by request.
10 years ago
chriseth
8221a3c4cd
Allow structs containing mappings in memory.
10 years ago
chriseth
cef5646a7a
Improved error message for wrong argument count.
Fixes #2456
10 years ago
chriseth
905da13c34
Struct constructors.
10 years ago
chriseth
9c483859d1
Fixed checking of abstract functions.
Fixes #2264
10 years ago
chriseth
edd52f0553
Memory arrays cannot be resized.
10 years ago
chriseth
1f5c86d01a
Disallow memory types containing mappings.
10 years ago
chriseth
f94ff7b41c
Fixed and simplified external type computation.
10 years ago
chriseth
c7b257acde
Fix and test for not really recursive structs.
Fixes #2223 .
10 years ago
chriseth
536bd36185
Accessors for strings.
10 years ago
chriseth
7d09d87d16
Distinction between storage pointer and storage ref and type checking for conversion between storage and memory.
10 years ago
chriseth
3a417e5fe5
Improved type conversion error messages.
10 years ago
chriseth
e66383994d
Dynamic memory.
10 years ago
chriseth
ac79514e63
Ability to specify the storage location of a reference type.
10 years ago
Liana Husikyan
9da464ee05
- style fixes
- added test for uint8 = -1 which doesn't fail; todo: fix that
10 years ago
Liana Husikyan
4757651b64
- conversion of positive literals to signed int
- tests
10 years ago
chriseth
b6f9d51cd6
Re-introduce string type.
10 years ago
Gav Wood
05ea9941c9
Move non-cryptopp dependent stuff into devcore.
10 years ago
chriseth
fff1a1379e
Fixed error message about explicit type conversion.
10 years ago
Liana Husikyan
4081752e63
style changes
10 years ago
Liana Husikyan
91b7f87c56
implemented cleanup of duplication in resolver
10 years ago
Liana Husikyan
abab0a744e
Update AST.cpp
10 years ago
Liana Husikyan
e25c6beb27
Update AST.cpp
10 years ago
Liana Husikyan
f4b836dab3
some more style fixes
10 years ago
Liana Husikyan
1c6fcca6e2
small fix
10 years ago
Liana Husikyan
da309c3853
created secondarySoureLocation error type
added additional information to error msgs
10 years ago
Liana Husikyan
bd693e4ca8
saved returnParameterNames in FunctionType constructor
10 years ago
Liana Husikyan
e612ddeafe
changed the test so constructor will have input parameters
10 years ago
Liana Husikyan
376201c781
removed an unnecessary function
10 years ago
Liana Husikyan
b2b723400a
style fix
10 years ago
Liana Husikyan
f2502b01f7
fixed the output of the test
10 years ago
chriseth
e480c7012c
bytes parameters for events and sha3.
10 years ago
Lefteris Karapetsas
cad916a00d
Fixing detection of abstract contract
10 years ago
Lefteris Karapetsas
86caafd9e9
Add "this" contract's ctor to provided ctors set
- Also properly naming the 2 sets in checkAbstractConstructors() function
10 years ago
Lefteris Karapetsas
3a2d903252
Fixing new abstract contract error location reporting
10 years ago
Lefteris Karapetsas
c227951856
size()!=0 -> !empty()
10 years ago
Lefteris Karapetsas
2279e40274
Check all constructors in inheritance chain get args
- Also add a missing override in a function of EnumValue
10 years ago
Lefteris Karapetsas
45117f53b0
Allowing abstract contracts constructor to have no args
- If a constructor is part of an abstract contract we can omit its
arguments
- IF a contract is abstract make sure to not create and/or request
Assembly code about it since it's not compiled
10 years ago
chriseth
3bc78361d6
Bugfixes concerning variable declarations.
Fixes #1637
10 years ago
chriseth
0b36ca86d7
Fixed function overloads.
Added tests, disallowed non-calling usage of non-unique function
references.
10 years ago
Liana Husikyan
065d9a9e68
VariableDeclaration::checkTypeRequirements() refactoring
10 years ago
Liana Husikyan
c5df9e205b
Update AST.cpp
10 years ago
Liana Husikyan
4352423fea
miner changes in the implementation of the externalTypes function of FunctionType.
better error messages for exeptions
style fixes after review
10 years ago
Liana Husikyan
4173a71846
changed checking for external type in VariableDeclaration::checkTypeRequirements()
changed error msg
10 years ago
Liana Husikyan
0e247e0282
style fixes
10 years ago
Lefteris Karapetsas
29669c16a2
Fix some styling issues and remove comments
10 years ago
Lefteris Karapetsas
dfcaf8a414
Abstract contract and inheritance
- Checking the linearized base contracts for abstract functions and
handle their existence appropriately
- If a contract is abstract it can't be created with new
- An abstract contract is not compiled (no backend code is generated)
- Of course tests
10 years ago
Liana Husikyan
dd15c53ae4
added externalTypes function to functionType
removed flag for externalSigniture
10 years ago