MiniExcel
MiniExcel copied to clipboard
使用带合并列的模版出现异常
使用的excel模版

出现NullReferenceException 的异常

查看源码发现异常原因如下

从代码层面看如果进入此步骤必然会出现NullReferenceException
所以不明白此处为什么要用 != null ,没办法,手动改成 == null 跳出。重新编译生成dll
@shps951023 it is a bit weird that to this day this is still a IEnumerableMercell != null check, logically it would make more sense to jump the loop when the value is null, especially because as it is now the section of code below gets never executed. Switching the check still makes all tests pass, but I'm not sure what that whole section is for in the first place, so I don't know how to proceed here