Fix pragma version for testing.

This commit is contained in:
chriseth 2019-10-28 12:35:01 +01:00
parent 07c67b98f6
commit d8d8493550
2 changed files with 2 additions and 4 deletions

View File

@ -35,9 +35,7 @@ a good idea to read through the changelog at least for releases that contain
breaking changes. These releases always have versions of the form breaking changes. These releases always have versions of the form
``0.x.0`` or ``x.0.0``. ``0.x.0`` or ``x.0.0``.
The version pragma is used as follows:: The version pragma is used as follows: ``pragma solidity ^0.5.2;``
pragma solidity ^0.5.2;
A source file with the line above does not compile with a compiler earlier than version 0.5.2, A source file with the line above does not compile with a compiler earlier than version 0.5.2,
and it also does not work on a compiler starting from version 0.6.0 (this and it also does not work on a compiler starting from version 0.6.0 (this

View File

@ -49,7 +49,7 @@ The following example shows a contract and a function using all available tags.
.. code:: solidity .. code:: solidity
pragma solidity ^0.5.6; pragma solidity >=0.5.0 <0.7.0;
/// @title A simulator for trees /// @title A simulator for trees
/// @author Larry A. Gardner /// @author Larry A. Gardner