code assistance

In this section you can write to us about the MDT bugs & problems you have noticed.

code assistance

Postby kamp » 17 May 2011, 08:32

Hallo all,
writing code using the keyword "default" as method in magik-statements like
Code: Select all
MagikSF> my_var<<xxx.default(yyyy)

the code assistance algorithm adds automatically an underscore. The result is
Code: Select all
MagikSF> my_var<<xxx._default(yyy)

which in turn results in a syntax error.
The same problem arises using the keyword "method" for example in
Code: Select all
MagikSF> my_class.method(:xxx)

which results in
Code: Select all
MagikSF> my_class._method(:xxx)

Is it possible to correct this inconvenience?
Thanks

Stephan Kamphausen
Rechenzentrum für Versorgungsnetze Wehr GmbH
Oberbilker Allee 203
D-40227 Düsseldorf
kamp
 
Posts: 8
Joined: 17 May 2011, 07:04

Re: code assistance

Postby Darek » 18 May 2011, 09:18

Hallo kamp,

It has been already corrected. Fix will be available in next release.

Best regards,
Dariusz Michura
MDT Support Team

ASTEC Sp. z o.o.
ul. Wyspiańskiego 11, PL 65-036 Zielona Góra
Phone: +48 68 42 26 819
Fax: +48 68 42 26 897
support@mdt.net

http://www.astec.net
http://www.gislet.pl
http://www.mdt.net
Darek
 
Posts: 19
Joined: 26 May 2006, 14:27

Re: code assistance

Postby kamp » 18 May 2011, 14:19

Hi Darek,
thanks for the explanation.
Stephan Kamphausen
Rechenzentrum für Versorgungsnetze Wehr GmbH
kamp
 
Posts: 8
Joined: 17 May 2011, 07:04


Return to Bugs & problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron