File tree Expand file tree Collapse file tree 8 files changed +8
-40
lines changed
cpp/ql/lib/semmle/code/cpp
csharp/ql/lib/semmle/code/csharp/dataflow/internal
go/ql/lib/semmle/go/dataflow/internal
java/ql/lib/semmle/code/java/dataflow/internal
python/ql/lib/semmle/python/dataflow/new/internal
ruby/ql/lib/codeql/ruby/dataflow/internal
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 8 files changed +8
-40
lines changed Original file line number Diff line number Diff line change @@ -445,11 +445,7 @@ module Impl<FullStateConfigSig Config> {
445
445
}
446
446
447
447
private module Stage1 implements StageSig {
448
- class Ap extends int {
449
- // workaround for bad functionality-induced joins (happens when using `Unit`)
450
- pragma [ nomagic]
451
- Ap ( ) { this in [ 0 .. 1 ] and this < 1 }
452
- }
448
+ class Ap = Unit ;
453
449
454
450
private class Cc = boolean ;
455
451
Original file line number Diff line number Diff line change @@ -445,11 +445,7 @@ module Impl<FullStateConfigSig Config> {
445
445
}
446
446
447
447
private module Stage1 implements StageSig {
448
- class Ap extends int {
449
- // workaround for bad functionality-induced joins (happens when using `Unit`)
450
- pragma [ nomagic]
451
- Ap ( ) { this in [ 0 .. 1 ] and this < 1 }
452
- }
448
+ class Ap = Unit ;
453
449
454
450
private class Cc = boolean ;
455
451
Original file line number Diff line number Diff line change @@ -445,11 +445,7 @@ module Impl<FullStateConfigSig Config> {
445
445
}
446
446
447
447
private module Stage1 implements StageSig {
448
- class Ap extends int {
449
- // workaround for bad functionality-induced joins (happens when using `Unit`)
450
- pragma [ nomagic]
451
- Ap ( ) { this in [ 0 .. 1 ] and this < 1 }
452
- }
448
+ class Ap = Unit ;
453
449
454
450
private class Cc = boolean ;
455
451
Original file line number Diff line number Diff line change @@ -445,11 +445,7 @@ module Impl<FullStateConfigSig Config> {
445
445
}
446
446
447
447
private module Stage1 implements StageSig {
448
- class Ap extends int {
449
- // workaround for bad functionality-induced joins (happens when using `Unit`)
450
- pragma [ nomagic]
451
- Ap ( ) { this in [ 0 .. 1 ] and this < 1 }
452
- }
448
+ class Ap = Unit ;
453
449
454
450
private class Cc = boolean ;
455
451
Original file line number Diff line number Diff line change @@ -445,11 +445,7 @@ module Impl<FullStateConfigSig Config> {
445
445
}
446
446
447
447
private module Stage1 implements StageSig {
448
- class Ap extends int {
449
- // workaround for bad functionality-induced joins (happens when using `Unit`)
450
- pragma [ nomagic]
451
- Ap ( ) { this in [ 0 .. 1 ] and this < 1 }
452
- }
448
+ class Ap = Unit ;
453
449
454
450
private class Cc = boolean ;
455
451
Original file line number Diff line number Diff line change @@ -445,11 +445,7 @@ module Impl<FullStateConfigSig Config> {
445
445
}
446
446
447
447
private module Stage1 implements StageSig {
448
- class Ap extends int {
449
- // workaround for bad functionality-induced joins (happens when using `Unit`)
450
- pragma [ nomagic]
451
- Ap ( ) { this in [ 0 .. 1 ] and this < 1 }
452
- }
448
+ class Ap = Unit ;
453
449
454
450
private class Cc = boolean ;
455
451
Original file line number Diff line number Diff line change @@ -445,11 +445,7 @@ module Impl<FullStateConfigSig Config> {
445
445
}
446
446
447
447
private module Stage1 implements StageSig {
448
- class Ap extends int {
449
- // workaround for bad functionality-induced joins (happens when using `Unit`)
450
- pragma [ nomagic]
451
- Ap ( ) { this in [ 0 .. 1 ] and this < 1 }
452
- }
448
+ class Ap = Unit ;
453
449
454
450
private class Cc = boolean ;
455
451
Original file line number Diff line number Diff line change @@ -445,11 +445,7 @@ module Impl<FullStateConfigSig Config> {
445
445
}
446
446
447
447
private module Stage1 implements StageSig {
448
- class Ap extends int {
449
- // workaround for bad functionality-induced joins (happens when using `Unit`)
450
- pragma [ nomagic]
451
- Ap ( ) { this in [ 0 .. 1 ] and this < 1 }
452
- }
448
+ class Ap = Unit ;
453
449
454
450
private class Cc = boolean ;
455
451
You can’t perform that action at this time.
0 commit comments