WheretIB / nullc

Fast C-like programming language with advanced features
MIT License
163 stars 13 forks source link

crash VM #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
code:

import std.io;
int ref dx; //dx - no init value
GetMouseState(dx, dx);

//app crashes. Not an error VM

Original issue reported on code.google.com by TOLCli...@yandex.ru on 10 Jun 2013 at 3:42

GoogleCodeExporter commented 9 years ago
Thank you for the report.

I have rechecked all the functions in the std.io module for missing safety 
checks.

Crash is fixed in the current revision.

Original comment by Where...@gmail.com on 16 Jun 2013 at 4:51