7 Commits

Author SHA1 Message Date
Mike McQuaid
b65aa8a2f3 Only fails_with compiler version for developers.
Actually works properly now.

This reverts commit a0e56345ea55f7ee3c41d6bf13f9cfb3af635323.
2013-02-21 21:40:15 +00:00
Mike McQuaid
041cc45a61 Revert "Only fails_with compiler version for developers."
This reverts commit c98d50495275ff4951dd126bb88a55e568b64092.
2013-02-20 16:39:04 +00:00
Mike McQuaid
ada5033e0d Only fails_with compiler version for developers.
Closes Homebrew/homebrew#17618.
Closes Homebrew/homebrew#17813.
2013-02-18 19:37:44 +00:00
Jack Nagel
f037be5148 Don't shadow outer local variables 2013-02-18 12:13:36 -06:00
Jack Nagel
429caf69a9 Remove Array subclassing
Inheriting from Array (and other core types) is problematic:

  - It exposes a very wide interface with many methods that are not
    really relevant to the subclass.
  - It can cause some weird side effects, as many Array operations are
    in C and have hardcoded return values; for example, combining two
    array subclasses returns a new Array instead of the subclass.

Avoid these problems using delegation and the Enumerable module where
applicable.
2013-01-07 14:32:14 -06:00
Mike McQuaid
5c79d5884a Don't warn uses on :fails_with compiler blocks.
Fixes Homebrew/homebrew#14121.
2012-08-11 17:19:43 +01:00
Jack Nagel
de444ead0b New fails_with infrastructure
- Formulae can now declare failures on any compiler.
 - FailsWithLLVM and associated formula elements have been moved to
   compat.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00