mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-05 13:58:23 +00:00
16d1d1e5eb
RPC binding config may be malformed or the source .go contract may contain structures like this: ``` type Str struct { Field int field int } ``` We need to recognise these cases and return error. otherwise the resulting binding can't be compiled. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
18 lines
352 B
YAML
18 lines
352 B
YAML
name: Test duplicating event fields
|
|
events:
|
|
- name: SomeEvent
|
|
parameters:
|
|
- name: p1
|
|
type: Struct
|
|
extendedtype:
|
|
base: Struct
|
|
name: SomeStruct
|
|
namedtypes:
|
|
SomeStruct:
|
|
base: Struct
|
|
name: SomeStruct
|
|
fields:
|
|
- field: Field
|
|
base: Integer
|
|
- field: field
|
|
base: Integer
|