Skip to content

Remove module-level order restrictions#2057

Merged
iamdefinitelyahuman merged 1 commit into
vyperlang:masterfrom
iamdefinitelyahuman:remove-order-restrictions
Jun 27, 2020
Merged

Remove module-level order restrictions#2057
iamdefinitelyahuman merged 1 commit into
vyperlang:masterfrom
iamdefinitelyahuman:remove-order-restrictions

Conversation

@iamdefinitelyahuman

Copy link
Copy Markdown
Contributor

What I did

Remove restrictions on ordering of elements within the module-level namespace of a contract.

The only restriction this does not remove is that functions may only call upward - that logic is fairly intertwined with global_context and will take some work to eliminate.

How I did it

  • Removed some checks in global_context
  • Removed failing tests
  • Checked the documentation - this behavior was never documented so nothing needs to be changed there

How to verify it

Run tests.

Cute Animal Picture

image

@iamdefinitelyahuman iamdefinitelyahuman merged commit c104fc9 into vyperlang:master Jun 27, 2020
@iamdefinitelyahuman iamdefinitelyahuman deleted the remove-order-restrictions branch June 27, 2020 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants