Daniel Kirchner
|
be29ef70a7
|
Allow accessing user defined value type members via contract name.
|
2021-09-14 16:24:14 +02:00 |
|
Kamil Śliwak
|
14639efc5d
|
Print code snippets next to source locations in IR output
|
2021-09-14 12:09:59 +02:00 |
|
hrkrshnn
|
a1d4d0125d
|
Allow UserDefinedValueType.uwrap (and wrap) as RHS of constant decl
Needed to make `MyType.unwrap` and `MyType.unwrap` as pure in the process. This change affected some
existing tests ("statement has no effect").
|
2021-09-13 11:53:05 +02:00 |
|
hrkrshnn
|
d67391531e
|
Implemented ASTJson import export for UserDefinedValueType
Also added a test.
|
2021-09-08 21:19:30 +02:00 |
|
hrkrshnn
|
15452371d4
|
Types for UserDefinedValueType
|
2021-09-07 19:42:51 +02:00 |
|
hrkrshnn
|
d3ae9cf71b
|
Added AST node UserDefinedValueType
|
2021-09-07 19:42:51 +02:00 |
|
Marenz
|
2b28f87abf
|
Add type().min/max for enums
|
2021-09-01 15:02:02 +02:00 |
|
soroosh-sdi
|
b0ce98bcb2
|
Using range-v3 instead of boost
Signed-off-by: soroosh-sdi <soroosh.sardari@gmail.com>
|
2021-08-24 23:50:23 +04:30 |
|
soroosh-sdi
|
0417ee2a21
|
Replace boost::adaptors with range-v3
Signed-off-by: soroosh-sdi <soroosh.sardari@gmail.com>
|
2021-08-24 13:07:26 +04:30 |
|
hrkrshnn
|
95091f6b58
|
Implemented block.basefee in Solidilty and basefee() in Yul.
Also added basefee to Yul grammar.
|
2021-08-09 16:18:08 +02:00 |
|
chriseth
|
ffc5cfd9a5
|
Remove scanner from compiler stack.
|
2021-08-03 15:43:17 +02:00 |
|
chriseth
|
01dc77e5a2
|
Properly assign source names for AST import.
|
2021-07-14 15:12:10 +02:00 |
|
chriseth
|
f75b55071e
|
Remove CharStream from SourceLocation.
|
2021-07-14 15:12:07 +02:00 |
|
Kamil Śliwak
|
1d1d74bd0e
|
RationalNumberType: Fix wrong docstring about m_compatibleBytesType being used for explicit conversions
|
2021-06-29 13:27:21 +02:00 |
|
a3d4
|
70b8b1c834
|
Do not warn about shadowing parameters in functions without implementation
|
2021-06-09 12:35:26 +02:00 |
|
chriseth
|
7d8a4e63d8
|
Merge pull request #11491 from TerranCivilian/fix-10269
Remove unneeded include files
|
2021-06-07 20:15:20 +02:00 |
|
TerranCivilian
|
c15501eea9
|
Remove unneeded include files
|
2021-06-07 12:53:18 -04:00 |
|
Mathias Baumann
|
6a0313c456
|
Unify function call resolve function used in Analysis & Yul CodeGen
|
2021-06-07 15:23:32 +02:00 |
|
chriseth
|
0d948ebf81
|
Cache functions by name.
|
2021-06-03 11:10:35 +02:00 |
|
Kamil Śliwak
|
d96cc3469a
|
FunctionDefinition.resolveVirtual(): Skip unimplemented functions when lookup happens via super
|
2021-06-02 16:16:15 +02:00 |
|
hrkrshnn
|
f582d48f7b
|
Error message: try-catch parameter cannot be in storage.
|
2021-05-31 11:25:08 +02:00 |
|
Daniel Kirchner
|
6104ac1cdf
|
Remove more imports of ranges namespace.
|
2021-05-07 15:42:17 +02:00 |
|
Djordje Mijovic
|
f0c5cdca9f
|
[Sol->Yul] Adding util function to copy literal to storage.
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
Co-authored-by: chriseth <chris@ethereum.org>
|
2021-05-05 11:33:03 +02:00 |
|
Djordje Mijovic
|
e404b6e7a6
|
Refactoring yul source locations.
|
2021-05-04 16:05:23 +02:00 |
|
chriseth
|
659da4bdc7
|
Merge pull request #11047 from ethereum/bytesToBytesNNConversion
Bytes to bytesNN conversion
|
2021-04-26 11:51:41 +02:00 |
|
Alex Beregszaszi
|
e39433198d
|
Remove the usage of boost::noncopyable
Prior to this half of the codebase used explicit deleted copy constructors, the others used boost::noncopyable.
|
2021-04-23 14:57:01 +01:00 |
|
Djordje Mijovic
|
b40c3bcc32
|
Allowing conversion from bytes to bytesNN in type checker.
|
2021-04-23 13:19:19 +02:00 |
|
chriseth
|
8eb0d5edf6
|
Export used errors in the AST.
|
2021-04-19 14:15:50 +02:00 |
|
anurag4u80
|
b2ca7916aa
|
Replaced boost::adaptors::transformed
|
2021-04-08 17:38:14 +05:30 |
|
anurag4u80
|
bbcdddeed9
|
Replaced keys, values and reverse with ranges
|
2021-03-31 23:33:04 +05:30 |
|
Mathias Baumann
|
e590a99f39
|
Detect circular references for library and free functions
|
2021-03-30 23:06:30 +02:00 |
|
chriseth
|
e877e2bba7
|
Use all referenced errors.
|
2021-03-30 21:15:46 +02:00 |
|
chriseth
|
d5669696d5
|
Code generation for errors.
|
2021-03-30 21:15:46 +02:00 |
|
chriseth
|
b552e5aeeb
|
AST import and export for revert statement.
|
2021-03-30 21:15:46 +02:00 |
|
chriseth
|
fb67051467
|
Revert statement.
|
2021-03-30 21:15:46 +02:00 |
|
chriseth
|
b04b189959
|
Syntax for custom errors.
|
2021-03-30 21:15:18 +02:00 |
|
chriseth
|
99fcf62736
|
Extract referencedDeclaration as helper.
|
2021-03-24 17:01:50 +01:00 |
|
Djordje Mijovic
|
1493326e48
|
Adding bytes.concat function type.
|
2021-03-24 11:49:21 +01:00 |
|
chriseth
|
d15ba987d1
|
Fix AST output if modifier invocation is base constructor call.
|
2021-03-24 11:24:26 +01:00 |
|
chriseth
|
e3ea5c631e
|
Merge pull request #11136 from ethereum/refactor-typepointer
Replace `TypePointer` with `Type const*`
|
2021-03-23 18:32:38 +01:00 |
|
Mathias Baumann
|
e197ebbdd1
|
Replace TypePointer with Type const*
|
2021-03-23 11:47:19 +01:00 |
|
Mathias Baumann
|
bccedf791b
|
Add creationCode/runtimeCode contract creation detection to call graph
|
2021-03-22 15:44:23 +01:00 |
|
chriseth
|
0519473059
|
Add "kind" field to ModifierInvocation AST json element.
|
2021-03-16 18:50:37 +01:00 |
|
hrkrshnn
|
ef0c4cc39f
|
AST Import: For constructors, a public visibility is ignored.
|
2021-03-11 10:44:19 +01:00 |
|
Kamil Śliwak
|
e87cd0afdf
|
Check that there is an interface type before querying validity of location.
|
2021-02-24 11:22:40 +01:00 |
|
Alexander Arlt
|
ae6996efc1
|
Fix issue with pop on storage array.
|
2021-02-23 14:26:55 +01:00 |
|
chriseth
|
3dcba53595
|
Merge pull request #10993 from ethereum/fixModuleMemberNames
Fix module member names for importing with renaming.
|
2021-02-23 14:20:28 +01:00 |
|
Kamil Śliwak
|
7a85516b82
|
Remove contract reference from the call graph
|
2021-02-23 14:01:20 +01:00 |
|
chriseth
|
c91cffa4ec
|
Fix module member names for importing with renaming.
|
2021-02-23 13:15:32 +01:00 |
|
Kamil Śliwak
|
54eb34d6fd
|
Move call graphs from CompilerStack to ContractDefinitionAnnotation
|
2021-02-23 10:47:02 +01:00 |
|