BBB/sublime-text-2-plugins — Issue #5: @import rules result in failed compilation
Author: duanecilliers
Created: 2012-01-31 05:20:09+00:00
State: open

I'm running windows and when importing a less file as documented here: http://lesscss.org/#-importing, the dotless compiler returns the following error message...

[Compile]
C:\(path)\style.less -> C:\(path)\style.css
[FAILED]
Compilation failed: Object reference not set to an instance of an object.
at dotless.Core.Parser.Parsers.Directive(Parser parser)
at dotless.Core.Parser.Parsers.Primary(Parser parser)
at dotless.Core.Parser.Parsers.Block(Parser parser)
at dotless.Core.Parser.Parsers.Directive(Parser parser)
at dotless.Core.Parser.Parsers.Primary(Parser parser)
at dotless.Core.Parser.Parser.Parse(String input, String fileName)
at dotless.Core.Importers.Importer.Import(Import import)
at dotless.Core.Parser.Tree.Import..ctor(String path, Importer importer)
at dotless.Core.Parser.Tree.Import..ctor(Quoted path, Importer importer)
at dotless.Core.Parser.Infrastructure.DefaultNodeProvider.Import(Quoted path, Importer importer, Int32 index)
at dotless.Core.Parser.Parsers.Import(Parser parser)
at dotless.Core.Parser.Parsers.Directive(Parser parser)
at dotless.Core.Parser.Parsers.Primary(Parser parser)
at dotless.Core.Parser.Parser.Parse(String input, String fileName)
at dotless.Core.LessEngine.TransformToCss(String source, String fileName)
at dotless.Core.ParameterDecorator.TransformToCss(String source, String fileName)
at dotless.Compiler.FixImportPathDecorator.TransformToCss(String source, String fileName)
at dotless.Compiler.Program.CompileImpl(ILessEngine engine, String inputFilePath, String outputFilePath)
[Finished]

Runs smoothly without @imports.