
"""This module exports the Ghc plugin class."""

from SublimeLinter.lint import Linter, util


class Ghc(Linter):

    """Provides an interface to ghc."""

    syntax = ('haskell', 'haskell-sublimehaskell')
    cmd = ('ghc', '-fno-code', '-Wall', '-Wwarn', '-fno-helpful-errors')
    regex = r'^.+:(?P<line>\d+):(?P<col>\d+):\s+(?P<warning>Warning:\s+)?(?P<message>.+)$'
    multiline = True

    # No stdin
    tempfile_suffix = 'hs'

    # ghc writes errors to STDERR
    error_stream = util.STREAM_STDERR

    # @todo allow some settings
    defaults = {}
    inline_settings = None
    inline_overrides = None
    comment_re = None


"""This module exports the Ghc plugin class."""

from SublimeLinter.lint import Linter, util


class Ghc(Linter):

    """Provides an interface to ghc."""

    syntax = ('haskell', 'haskell-sublimehaskell')
    cmd = ('ghc', '-fno-code', '-Wall', '-Wwarn', '-fno-helpful-errors')
    regex = r'^.+:(?P<line>\d+):(?P<col>\d+):\s+(?P<warning>Warning:\s+)?(?P<message>.+)$'
    multiline = True

    # No stdin
    tempfile_suffix = 'hs'

    # ghc writes errors to STDERR
    error_stream = util.STREAM_STDERR

    defaults = {}
    inline_settings = None
    inline_overrides = None
    comment_re = None

Remove todo comment, no settings support
Remove todo comment, no settings support

  
  """This module exports the Ghc plugin class."""
  
  from SublimeLinter.lint import Linter, util
  
  
  class Ghc(Linter):
  
      """Provides an interface to ghc."""
  
      syntax = ('haskell', 'haskell-sublimehaskell')
      cmd = ('ghc', '-fno-code', '-Wall', '-Wwarn', '-fno-helpful-errors')
      regex = r'^.+:(?P<line>\d+):(?P<col>\d+):\s+(?P<warning>Warning:\s+)?(?P<message>.+)$'
      multiline = True
  
      # No stdin
      tempfile_suffix = 'hs'
  
      # ghc writes errors to STDERR
      error_stream = util.STREAM_STDERR
  
-     # @todo allow some settings
      defaults = {}
      inline_settings = None
      inline_overrides = None
      comment_re = None
  
Remove todo comment, no settings support
## Code Before:

"""This module exports the Ghc plugin class."""

from SublimeLinter.lint import Linter, util


class Ghc(Linter):

    """Provides an interface to ghc."""

    syntax = ('haskell', 'haskell-sublimehaskell')
    cmd = ('ghc', '-fno-code', '-Wall', '-Wwarn', '-fno-helpful-errors')
    regex = r'^.+:(?P<line>\d+):(?P<col>\d+):\s+(?P<warning>Warning:\s+)?(?P<message>.+)$'
    multiline = True

    # No stdin
    tempfile_suffix = 'hs'

    # ghc writes errors to STDERR
    error_stream = util.STREAM_STDERR

    # @todo allow some settings
    defaults = {}
    inline_settings = None
    inline_overrides = None
    comment_re = None

## Instruction:
Remove todo comment, no settings support
## Code After:

"""This module exports the Ghc plugin class."""

from SublimeLinter.lint import Linter, util


class Ghc(Linter):

    """Provides an interface to ghc."""

    syntax = ('haskell', 'haskell-sublimehaskell')
    cmd = ('ghc', '-fno-code', '-Wall', '-Wwarn', '-fno-helpful-errors')
    regex = r'^.+:(?P<line>\d+):(?P<col>\d+):\s+(?P<warning>Warning:\s+)?(?P<message>.+)$'
    multiline = True

    # No stdin
    tempfile_suffix = 'hs'

    # ghc writes errors to STDERR
    error_stream = util.STREAM_STDERR

    defaults = {}
    inline_settings = None
    inline_overrides = None
    comment_re = None
