Solidity source files indicate the versions of the compiler they can be compiled with.
</p>
<pre>
<code>
pragma solidity ^0.4.17; // bad: compiles w 0.4.17 and above
pragma solidity 0.4.24; // good : compiles w 0.4.24 only
</code>
</pre>
<p>
It is recommended to follow the latter example, as future compiler versions may handle certain language constructions in a way the developer did not foresee.
[Click Here](https://astexplorer.net/#/gist/6c66e1bf12437792ac7442c020f09831/c3e453b421eb13f4fe129283509f704d4a9797bd) to view the AST for the above code. Code generated from AST Explorer using _solidity-parser-antlr-0.4.11_
### Code Result
```
SOLIDITY_PRAGMAS_VERSION
patternId: 23fc32
severity: 1
line: 2
column: 16
content: ^
SOLIDITY_PRAGMAS_VERSION :1
```
## Silther Result
```
INFO:SlitherSolcParsing:No contract were found in None, check the correct compilation