return string from inside if block => Segmentation Fault: 11

Robert M. Münch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 1 10:41:14 PDT 2015


On 2015-06-01 16:54:58 +0000, Alex Parrill said:

> Are you sure that it's not the calls to `isEmpty`? Check if spec, 
> lvars, or anything that `isEmpty` uses are null.

Yep, I was confused by my own naming. I don't have to check against 
isEmpty but instead "... is null" ...

-- 
Robert M. Münch
http://www.saphirion.com
smarter | better | faster



More information about the Digitalmars-d-learn mailing list