Showing 1 of 1 files from the diff.

@@ -147,7 +147,7 @@
Loading
147 147
    // can't use origin getSymbolsByUDA because
148 148
    // https://issues.dlang.org/show_bug.cgi?id=20054
149 149
    // paste old impl at end of file
150 -
    static if (__VERSION__ < 2088) import std.traits : getSymbolsByUDA;
150 +
    static if (__VERSION__ != 2088) import std.traits : getSymbolsByUDA;
151 151
    static foreach (sym; getSymbolsByUDA!(mixin(__MODULE__), preallocated))
152 152
        sym = new typeof(sym);
153 153
}
@@ -212,8 +212,10 @@
Loading
212 212
    throw preallocUnsupported.setFields(port, cast(immutable)UEMPB[0..ln], file, line);
213 213
}
214 214
215 -
static if (__VERSION__ >= 2088)
215 +
static if (__VERSION__ == 2088)
216 216
{
217 +
    mixin(q{
218 +
217 219
    // use old version of getSymbolsByUDA
218 220
    private template getSymbolsByUDA(alias symbol, alias attribute)
219 221
    {
@@ -270,4 +272,6 @@
Loading
270 272
            }
271 273
        }
272 274
    }
275 +
    
276 +
    });
273 277
}
Files Coverage
source/serialport 87.65%
Project Totals (8 files) 87.65%
100.11
TRAVIS_OS_NAME=linux
100.5
TRAVIS_OS_NAME=linux
100.17
TRAVIS_OS_NAME=linux
100.15
TRAVIS_OS_NAME=linux
100.19
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading