Oberon Community Platform Forum
December 13, 2017, 05:21:08 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Implicit casting  (Read 3293 times)
danp
Newbie
*
Posts: 37


« on: May 11, 2008, 09:43:27 AM »

Hello,

Until 1.0.74 version this syntax was perfectly valid:

import System.IO as IO;
var f : IO.Stream;
f := IO.File.Open("test.txt", IO.FileMode.CreateNew);

Now it returns:
Zonnon Compiler, Version 1.0.83.0, venerd
Logged
rmitin
Moderator
Newbie
*****
Posts: 22


« Reply #1 on: May 11, 2008, 01:27:53 PM »

Thank you for pointing out the problem. I missed a test on that. An unpleasant side effect of refactoring the compiler.
I have fixed the problem. Please get the update http://zonnon.ethz.ch/archive/ch.ethz.zonnon_1.0.85.zip for Mono or http://zonnon.ethz.ch/archive/Zonnon.Setup_1.0.85.zip for .NET Framework on Windows.
Logged
rmitin
Moderator
Newbie
*****
Posts: 22


« Reply #2 on: May 12, 2008, 12:02:01 PM »

I've missed one case with externals. A quick fix in 1.0.86.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!