tryig to reproduce scala bug