/** * Copyright (c) 2011 by JP Moresmau * This code is made available under the terms of the Eclipse Public License, * version 1.0 (EPL). See http://www.eclipse.org/legal/epl-v10.html */ package net.sf.eclipsefp.haskell.buildwrapper.types; /** * <p>GHC messages strings used for quick fixes and assist. * This may need to be localized if/when GHc is localized * </p> * * @author JP Moresmau */ public interface GhcMessages { public static String WARNING_NOTYPE_CONTAINS="definition but no type signature"; //$NON-NLS-1$ public static String WARNING_NOTYPE_TOPLEVEL_CONTAINS="top-level binding with no type signature:"; //$NON-NLS-1$ public static String WARNING_USEFLAG_CONTAINS="you intended to use"; //$NON-NLS-1$ public static String WARNING_USEFLAG_CONTAINS2="perhaps you intended"; //$NON-NLS-1$ public static String WARNING_USEFLAG_CONTAINS3="use"; //$NON-NLS-1$ public static String WARNING_USEFLAG_CONTAINS4="you need"; //$NON-NLS-1$ public static String WARNING_USEFLAG_CONTAINS5="using"; //$NON-NLS-1$ public static String WARNING_USEFLAG_CONTAINS6="try"; //$NON-NLS-1$ public static String WARNING_SUPPRESS_CONTAINS="to suppress this message"; //$NON-NLS-1$ public static String WARNING_INFERREDTYPE_START="inferred type:"; //$NON-NLS-1$ public static String WARNING_IMPORT_USELESS_CONTAINS="is imported, but nothing from it is used";//$NON-NLS-1$ public static String WARNING_IMPORT_USELESS_START="to suppress this warning, use:";//$NON-NLS-1$ public static String WARNING_IMPORT_USELESS_CONTAINS2="is redundant";//$NON-NLS-1$ public static String WARNING_IMPORT_USELESS_START2="to import instances alone, use:";//$NON-NLS-1$ public static String WARNING_IMPORT_USELESS_ELEMENT2="from module";//$NON-NLS-1$ public static String WARNING_IMPORT_USELESS_CONTAINS_START="import of";//$NON-NLS-1$ public static String ERROR_INTERACTIVE_DISABLED="interactive check disabled"; //$NON-NLS-1$ public static String MISSING_MODULE="could not find module";//$NON-NLS-1$ public static String MISSING_MODULE_ADD_START="perhaps you need to add `";//$NON-NLS-1$ public static String MISSING_MODULE_ADD_START_7_8="perhaps you need to add ‘";//$NON-NLS-1$ public static String MISSING_MODULE_ADD_END="' to the build-depends"; //$NON-NLS-1$ public static String MISSING_MODULE_ADD_END_7_8="’ to the build-depends"; //$NON-NLS-1$ public static String NOT_IN_SCOPE_START="not in scope: "; //$NON-NLS-1$ public static String NOT_IN_SCOPE_END="'"; //$NON-NLS-1$ public static String NOT_IN_SCOPE_END_7_8="’"; //$NON-NLS-1$ public static String NOT_IN_SCOPE_SUGGESTION="perhaps you meant"; //$NON-NLS-1$ public static String NOT_IN_SCOPE_SUGGESTION_MULTIPLE="perhaps you meant one of these:"; //$NON-NLS-1$ public static String IS_A_DATA_CONSTRUCTOR="is a data constructor"; //$NON-NLS-1$ public static String DO_DISCARDED_START="a do-notation statement discarded a result"; public static String DO_DISCARDED_FIX="by saying \"_ <- "; public static String NOT_ENABLED=" is not enabled"; public static String PERMITS_THIS=" permits this"; public static String YOU_NEED="you need -x"; public static String TRY="try -x"; public static String DID_YOU_MEAN="did you mean"; public static String DID_YOU_MEAN_NO_X="you meant to use"; public static String CAST_FROM_CHAR="with actual type `[char]'"; public static String CAST_FROM_CHAR_SHORT="with `[char]'"; public static String CAST_FROM_CHAR_7_8="with actual type ‘[char]’"; public static String CAST_FROM_CHAR_SHORT_7_8="with ‘[char]’"; public static String NAKED="naked expression at top level"; public static String INPUT_CASE="parse error on input `case'"; public static String TYPE_OR_CLASS="type constructor or class"; }