compiler crash

Archives Forums/BlitzMax Bug Reports/compiler crash

col(Posted 2015) [#1]
Should produce a syntax error really

Function addstring(str:String Var)
	str :+ "GHI"
EndFunction

Local abc:String = "ABC"
Local def:String = "DEF"
addstring(abc+def)

Print abc


debug and release produce
Building untitled1
Compiling:untitled1.bmx
Assertion failed: m, file Z:/blitzmax/_src/codegen/cgframe_x86.cpp, line 328
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.



Brucey(Posted 2015) [#2]
Thanks for that :-)

Possibly wants to error with "Expression for 'Var' parameter must be a variable" ?
(as it does with consts - eg. addint(3 + 4) )


col(Posted 2015) [#3]
edited. yeah id say so. seems logical enough :)


col(Posted 2015) [#4]
Brucey...

Do you have a thread specific to your version of the compiler? I've looked but can't find it :/ I'm sure I see one.


Brucey(Posted 2015) [#5]
Nothing particularly organised, as it's mostly just been a tease-fest since it's still in beta ;-)

There's some stuff here, a bit here, and some stuff in the "show off" forum, here, here and here.

The interesting bits are on github.


col(Posted 2015) [#6]
Thats cool. I'll have a play and see what happens...