Skip to content

Commit

Permalink
promote note to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Jun 1, 2024
1 parent 7be05e9 commit 18f6a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/using-modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Sometimes, you may encounter a module which itself ``uses`` other modules. Vyper
# export all external functions from ownable_2step
exports: ownable_2step.__interface__
.. note::
.. warning::
In normal usage, you should make sure that ``__init__()`` functions are called in dependency order. In the above example, you can get unexpected behavior if ``ownable_2step.__init__()`` is called before ``ownable.__init__()``! The compiler may enforce this behavior in the future.

.. _exporting-functions:
Expand Down

0 comments on commit 18f6a81

Please sign in to comment.