massiveinteractive/MassiveCover — pull request #19 by misprintt (2013-02-18 04:14:09+00:00)
Title: Version 1.5.0 - Improved logic for covering macro generated code blocks

### Background

Functions generated via macros using `@:autoBuild` used to throw a compilation errors due to overly restrictive validation when there was a mismatch between the class file and the one referenced in the expr.pos of the generated code.

The previous work around was to override the @:autoBuild by declaring a @:build directly on the class effected.

### Changes

This release improves handling of this scenario:

- Updates coverage information to support expr.pos file path outside of the current class
- Adds a `@:macro` to the printed output of coverage blocks that contain position info outside of the class file path
- Only throw exception when neither the expr.pos file nor the class file can be located inside any of the coverage class paths.