plaidgroup / plaid-lang

The Plaid Programming Language Tools
11 stars 1 forks source link

Different behavior of String and Character types #61

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
// In below example, why does "s" contain "getClass" method,
// while "c" does not?

method main()
{
    val s = "string";
    val c = 'c';

    printLine(s.getClass());
    printLine(c.getClass());
}

Original issue reported on code.google.com by akefi...@gmail.com on 4 Dec 2012 at 12:08