Issue 8 in clever: Missing type-check in compile-time

0 views
Skip to first unread message

cle...@googlecode.com

unread,
Jul 19, 2011, 10:39:55 PM7/19/11
to cleve...@googlegroups.com
Status: New
Owner: cado...@gmail.com
CC: felipensp
Labels: Type-Defect Priority-High Usability

New issue 8 by cado...@gmail.com: Missing type-check in compile-time
http://code.google.com/p/clever/issues/detail?id=8

I've commited the readln() function (std module), which receives no
arguments and returns a String. The problem is that, since we don't have
type-check fully working yet, it's possible to store the String inside an
Int.

For example:

$ clever -r "import std.io; Int foo = readln(); println(foo);"
qwerty foobar 123456789
qwerty foobar 123456789

$

cle...@googlecode.com

unread,
Jul 19, 2011, 11:12:07 PM7/19/11
to cleve...@googlegroups.com
Updates:
Labels: -Type-Defect Type-Todo

Comment #1 on issue 8 by felipensp: Missing type-check in compile-time
http://code.google.com/p/clever/issues/detail?id=8

(No comment was entered for this change.)

cle...@googlecode.com

unread,
Jul 19, 2011, 11:16:10 PM7/19/11
to cleve...@googlegroups.com
Updates:
Labels: -Type-Todo Type-TODO

Comment #2 on issue 8 by felipensp: Missing type-check in compile-time

Reply all
Reply to author
Forward
0 new messages